Get the named ILoggerRepository
The named ILoggerRepository
IRepositorySelector.GetRepository
Get the named ILoggerRepository. The default repository is log4net-default-repository
. Other repositories must be created using the CreateRepository. If the named repository does not exist an exception is thrown.
Exception Type | Condition |
---|---|
ArgumentNullException | throw if repositoryName is null |
LogException | throw if the repositoryName does not exist |
CompactRepositorySelector Class | log4net.Core Namespace | CompactRepositorySelector.GetRepository Overload List