GetLogger Method

log4net SDK Reference |

# Hierarchy.GetLogger Method

Return a new logger instance named as the first parameter using the default factory.

#### Overload List

Return a new logger instance named as the first parameter using the default factory.

> public override ILogger GetLogger(string);

Return a new logger instance named as the first parameter using factory.

> public Logger GetLogger(string,ILoggerFactory);

#### See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace