log4net SDK Reference |

# BasicConfigurator.Configure Method (ILoggerRepository)

Initializes the ILoggerRepository with a default configuration.

[Visual Basic]
Overloads Public Shared Sub Configure( _
ByVal repository As ILoggerRepository _
)
[C#]
public static void Configure(
ILoggerRepository repository
);

#### 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