Creates a new repository for the specified repository.
The new repository.
IRepositorySelector.CreateRepository
The ILoggerRepository created will be associated with the repository specified such that a call to GetRepository with the same repository specified will return the same repository instance.
Exception Type | Condition |
---|---|
ArgumentNullException | repositoryName is a null reference (Nothing in Visual Basic). |
LogException | repositoryName already exists. |
DefaultRepositorySelector Class | log4net.Core Namespace | DefaultRepositorySelector.CreateRepository Overload List