log4net SDK Reference |

# LogManager.GetLogger Method

Get or create a logger.

#### Overload List

Retrieves or creates a named logger.

> public static ILog GetLogger(Assembly,string);

Shorthand for GetLogger.

> public static ILog GetLogger(Assembly,Type);

Retrieves or creates a named logger.

> public static ILog GetLogger(string);

Retrieves or creates a named logger.

> public static ILog GetLogger(string,string);

Shorthand for GetLogger.

> public static ILog GetLogger(string,Type);

Shorthand for GetLogger.

> public static ILog GetLogger(Type);

#### See Also

LogManager Class | log4net Namespace