log4net SDK Reference

LogManager.GetCurrentLoggers Method (Assembly)

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

[Visual Basic]
Overloads Public Shared Function GetCurrentLoggers( _
   ByVal repositoryAssembly As Assembly _
) As ILog()
[C#]
public static ILog[] GetCurrentLoggers(
   Assembly repositoryAssembly
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.

Return Value

All the defined loggers.

Remarks

The root logger is not included in the returned array.

See Also

LogManager Class | log4net Namespace | LogManager.GetCurrentLoggers Overload List