LoggerRepositorySkeleton GetCurrentLoggers Method | Apache log4net™ SDK Documentation

Returns all the currently defined loggers in the repository

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

C#
VB
C++
F#
Copy

    public abstract ILogger[] GetCurrentLoggers()

    Public MustOverride Function GetCurrentLoggers As ILogger()

    public:
    virtual array<ILogger^>^ GetCurrentLoggers() abstract

    abstract GetCurrentLoggers : unit -> ILogger[]

#### Return Value

Type:
ILogger
All the defined loggers

#### Implements

ILoggerRepository
GetCurrentLoggers
Remarks

Returns all the currently defined loggers in the repository as an Array.

See Also

#### Reference

LoggerRepositorySkeleton Class
log4net.Repository Namespace