Hierarchy.GetCurrentLoggers Method
HierarchyGetCurrentLoggers Method Apache log4net™ SDK Documentation
Returns all the currently defined loggers in the hierarchy as an Array

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public override ILogger[] GetCurrentLoggers()

Return Value

Type: ILogger
All the defined loggers

Implements

ILoggerRepositoryGetCurrentLoggers
Remarks

Returns all the currently defined loggers in the hierarchy as an Array. The root logger is not included in the returned enumeration.

See Also

Reference