log4net SDK Reference |

# LogManager.CreateDomain Method

Create a domain

#### 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);

Obsolete. Creates a repository with the specified repository type.

> public static ILoggerRepository CreateDomain(Type);

#### See Also

LogManager Class | log4net Namespace