log4net SDK Reference |

# LoggerManager.GetCurrentLoggers Method (String)

Returns all the currently defined loggers in the specified repository.

[Visual Basic]
Overloads Public Shared Function GetCurrentLoggers( _
ByVal repository As String _
) As ILogger()
[C#]
public static ILogger[] GetCurrentLoggers(
string repository
);

#### Parameters

repository
  The repository to lookup in.

#### Return Value

All the defined loggers.

#### Remarks

The root logger is not included in the returned array.

#### See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetCurrentLoggers Overload List