GetRepository Method

log4net SDK Reference |

# LogManager.GetRepository Method

Get a logger repository.

#### Overload List

Returns the default ILoggerRepository instance.

> public static ILoggerRepository GetRepository();

Returns the default ILoggerRepository instance.

> public static ILoggerRepository GetRepository(Assembly);

Returns the default ILoggerRepository instance.

> public static ILoggerRepository GetRepository(string);

#### See Also

LogManager Class | log4net Namespace