log4net SDK Reference

LogManager.GetRepository Method (String)

Returns the default ILoggerRepository instance.

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

Parameters

repository
The repository to lookup in.

Return Value

The default ILoggerRepository instance.

Remarks

Gets the ILoggerRepository for the repository specified by the repository argument.

See Also

LogManager Class | log4net Namespace | LogManager.GetRepository Overload List