BasicConfigurator Configure Method | Apache log4net™ SDK Documentation

Initializes the log4net system with a default configuration.

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()

    Public Shared Function Configure As ICollection

    public:
    static ICollection^ Configure()

    static member Configure : unit -> ICollection

#### Return Value

Type: ICollection

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

Remarks

Initializes the log4net logging system 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

#### Reference

BasicConfigurator Class
Configure Overload
log4net.Config Namespace