ILoggerRepository GetCurrentLoggers Method | Apache log4net™ SDK Documentation

Returns all the currently defined loggers as an Array.

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

C#
VB
C++
F#
Copy

    ILogger[] GetCurrentLoggers()

    Function GetCurrentLoggers As ILogger()

    array<ILogger^>^ GetCurrentLoggers()

    abstract GetCurrentLoggers : unit -> ILogger[]

#### Return Value

Type:
ILogger
All the defined loggers
Remarks

Returns all the currently defined loggers as an Array.

See Also

#### Reference

ILoggerRepository Interface
log4net.Repository Namespace