log4net SDK Reference |

# LogManager.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 ILog()
[C#]
public static ILog[] 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

LogManager Class | log4net Namespace | LogManager.GetCurrentLoggers Overload List