GetLogger Method

log4net SDK Reference |

# LoggerManager.GetLogger Method

Retrieves or creates a named logger.

#### Overload List

Retrieves or creates a named logger.

> public static ILogger GetLogger(Assembly,string);

Shorthand for GetLogger.

> public static ILogger GetLogger(Assembly,Type);

Retrieves or creates a named logger.

> public static ILogger GetLogger(string,string);

Shorthand for GetLogger.

> public static ILogger GetLogger(string,Type);

#### See Also

LoggerManager Class | log4net.Core Namespace