Returns all the currently defined loggers in the specified repository.
Namespace: log4net.CoreAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
public static ILogger[] GetCurrentLoggers(
string repository
)
public static ILogger[] GetCurrentLoggers(
string repository
)
Public Shared Function GetCurrentLoggers (
repository As String
) As ILogger()
Public Shared Function GetCurrentLoggers (
repository As String
) As ILogger()
public:
static array<ILogger^>^ GetCurrentLoggers(
String^ repository
)
public:
static array<ILogger^>^ GetCurrentLoggers(
String^ repository
)
Parameters
- repository
- Type: System String
The repository to lookup in.
Return Value
Type:
ILogger All the defined loggers.
The root logger is not included in the returned array.