Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LoggerManager.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�ILogger()
[C#]
public�static�ILogger[]�GetCurrentLoggers(
���AssemblyrepositoryAssembly
);

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

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetCurrentLoggers Overload List