LoggerManager GetCurrentLoggers Method (Assembly)Apache log4net™ SDK Documentation
Returns all the currently defined loggers in the specified assembly's repository.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public static ILogger[] GetCurrentLoggers(
	Assembly repositoryAssembly
)

Parameters

repositoryAssembly
Type: OnlineSystem.Reflection Assembly
The assembly to use to lookup the repository.

Return Value

Type:  ILogger 
All the defined loggers.
Remarks

The root logger is not included in the returned array.

See Also