log4net SDK Reference |

# BasicConfigurator.Configure Method (ILoggerRepository, IAppender)

Initializes the ILoggerRepository using the specified appender.

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

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