Initializes the ILoggerRepository using the specified appender.
Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
public static ICollection Configure( ILoggerRepository repository, IAppender appender )
Parameters
- repository
- Type: log4net.RepositoryILoggerRepository
The repository to configure. - appender
- Type: log4net.AppenderIAppender
The appender to use to log all logging events.
Return Value
Type: ICollection[Missing <returns> documentation for "M:log4net.Config.BasicConfigurator.Configure(log4net.Repository.ILoggerRepository,log4net.Appender.IAppender)"]
Remarks
Initializes the ILoggerRepository using the specified appender.
See Also