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. |
LogManager Class | log4net Namespace | LogManager.CreateRepository Overload List