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