NOTE: This method is now obsolete.
Use CreateRepository instead of CreateDomain
Creates a repository with the specified name.
The ILoggerRepository created for the repository.
CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.
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.CreateDomain Overload List