Creates a repository with the specified name.
The ILoggerRepository created for the repository.
Creates the default type of ILoggerRepository which is a Hierarchy object.
The repository name must be unique. Repositories cannot be redefined. An Exception will be thrown if the repository already exists.
Exception Type | Condition |
---|---|
LogException | The specified repository already exists. |
LoggerManager Class | log4net.Core Namespace | LoggerManager.CreateRepository Overload List