Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

BasicConfigurator.Configure�Method�(ILoggerRepository)

Initializes the ILoggerRepository with a default configuration.

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

Parameters

repository
The repository to configure.

Remarks

Initializes the specified repository using a ConsoleAppender that will write to Console.Out. The log messages are formatted using the PatternLayout layout object with the DetailConversionPattern layout style.

See Also

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