CreateRepository Method

log4net SDK Reference |

# LogManager.CreateRepository Method

Create a logger repository.

#### Overload List

Creates a repository for the specified assembly and repository type.

> public static ILoggerRepository CreateRepository(Assembly,Type);

Creates a repository with the specified name.

> public static ILoggerRepository CreateRepository(string);

Creates a repository with the specified name and repository type.

> public static ILoggerRepository CreateRepository(string,Type);

Creates a repository with the specified repository type.

> public static ILoggerRepository CreateRepository(Type);

#### See Also

LogManager Class | log4net Namespace