Gets the ILoggerRepository for the specified repository.
The ILoggerRepository for the specified repository.
IRepositorySelector.GetRepository
Returns the named repository. If repositoryName is null
a ArgumentNullException is thrown. If the repository does not exist a LogException is thrown.
Use CreateRepository to create a repository.
Exception Type | Condition |
---|---|
ArgumentNullException | repositoryName is a null reference (Nothing in Visual Basic). |
LogException | repositoryName does not exist. |
DefaultRepositorySelector Class | log4net.Core Namespace | DefaultRepositorySelector.GetRepository Overload List