GetCurrentLoggers Method

log4net SDK Reference |

# LogManager.GetCurrentLoggers Method

Get the currently defined loggers.

#### Overload List

Returns all the currently defined loggers in the default repository.

> public static ILog[] GetCurrentLoggers();

Returns all the currently defined loggers in the specified assembly's repository.

> public static ILog[] GetCurrentLoggers(Assembly);

Returns all the currently defined loggers in the specified repository.

> public static ILog[] GetCurrentLoggers(string);

#### See Also

LogManager Class | log4net Namespace