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