Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

BasicConfigurator.Configure�Method�(ILoggerRepository, IAppender[])

Initializes the ILoggerRepository using the specified appenders.

[Visual�Basic]
Overloads�Public�Shared�Function�Configure( _
���ByVal repository�As�ILoggerRepository,�_
���ParamArray appenders�As�IAppender()�_
)�As�ICollection
[C#]
public�static�ICollection�Configure(
���ILoggerRepositoryrepository,
���params�IAppender[]appenders
);

Parameters

repository
The repository to configure.
appenders
The appenders to use to log all logging events.

Remarks

Initializes the ILoggerRepository using the specified appender.

See Also

BasicConfigurator Class | log4net.Config Namespace | BasicConfigurator.Configure Overload List