Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

BasicConfigurator.Configure�Method�(ILoggerRepository, IAppender)

Initializes the ILoggerRepository using the specified appender.

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

Parameters

repository
The repository to configure.
appender
The appender 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