log4net SDK Reference |

# Hierarchy.GetCurrentLoggers Method

Returns all the currently defined loggers in the hierarchy as an Array

[Visual Basic]
Overrides Public Function GetCurrentLoggers() As ILogger() _
Implements ILoggerRepository.GetCurrentLoggers
[C#]
public override ILogger[] GetCurrentLoggers();

#### Return Value

All the defined loggers

#### Implements

ILoggerRepository.GetCurrentLoggers

#### 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

Hierarchy Class | log4net.Repository.Hierarchy Namespace