Interface used by the LogManager to select the ILoggerRepository.
Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The IRepositorySelector type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | CreateRepository(Assembly, Type) |
Creates a new repository for the assembly specified.
|
![]() | CreateRepository(String, Type) |
Creates a new repository with the name specified.
|
![]() | ExistsRepository |
Test if a named repository exists
|
![]() | GetAllRepositories |
Gets an array of all currently defined repositories.
|
![]() | GetRepository(Assembly) |
Gets the ILoggerRepository for the specified assembly.
|
![]() | GetRepository(String) |
Gets the named ILoggerRepository.
|
Events
Name | Description | |
---|---|---|
![]() | LoggerRepositoryCreatedEvent |
Event to notify that a logger repository has been created.
|
Remarks
The LogManager uses a IRepositorySelector to specify the policy for selecting the correct ILoggerRepository to return to the caller.
See Also