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

Initializes the log4net system using the specified appenders.

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(
    	params IAppender[] appenders
    )

    Public Shared Function Configure (
    	ParamArray appenders As IAppender()
    ) As ICollection

    public:
    static ICollection^ Configure(
    	... array<IAppender^>^ appenders
    )

    static member Configure :
            appenders : IAppender[] -> ICollection

#### Parameters

appenders
  Type:
  log4net.Appender
  IAppender
  The appenders 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 appenders.

See Also

#### Reference

BasicConfigurator Class
Configure Overload
log4net.Config Namespace