log4net SDK Reference |

# LoggerManager.CreateDomain Method

NOTE: This method is now obsolete.

Use CreateRepository instead of CreateDomain

Creates a repository for the specified assembly and repository type.

#### Overload List

Obsolete. Creates a repository for the specified assembly and repository type.

> public static ILoggerRepository CreateDomain(Assembly,Type);

Obsolete. Creates a repository with the specified name.

> public static ILoggerRepository CreateDomain(string);

Obsolete. Creates a repository with the specified name and repository type.

> public static ILoggerRepository CreateDomain(string,Type);

#### See Also

LoggerManager Class | log4net.Core Namespace