BasicConfigurator Configure Method (IAppender) | Apache log4net™ SDK Documentation

Initializes the log4net system using the specified appender.

Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public static ICollection Configure(
    	IAppender appender
    )

    Public Shared Function Configure (
    	appender As IAppender
    ) As ICollection

    public:
    static ICollection^ Configure(
    	IAppender^ appender
    )

    static member Configure :
            appender : IAppender -> ICollection

#### Parameters

appender
  Type: log4net.Appender
  IAppender
  The appender to use to log all logging events.

#### Return Value

Type: ICollection

[Missing <returns> documentation for "M:log4net.Config.BasicConfigurator.Configure(log4net.Appender.IAppender)"]

Remarks

Initializes the log4net system using the specified appender.

See Also

#### Reference

BasicConfigurator Class
Configure Overload
log4net.Config Namespace