log4net SDK Reference

LogManager.GetLoggerRepository Method (String)

NOTE: This method is now obsolete.

Use GetRepository instead of GetLoggerRepository


Returns the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetLoggerRepository( _
   ByVal repository As String _
) As ILoggerRepository
[C#]
public static ILoggerRepository GetLoggerRepository(
   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.GetLoggerRepository Overload List