LoggerManager GetRepository Method (String) | Apache log4net™ SDK Documentation

Return the default ILoggerRepository instance.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public static ILoggerRepository GetRepository(
    	string repository
    )

    Public Shared Function GetRepository (
    	repository As String
    ) As ILoggerRepository

    public:
    static ILoggerRepository^ GetRepository(
    	String^ repository
    )

    static member GetRepository :
            repository : string -> ILoggerRepository

#### Parameters

repository
  Type: System
  String
  the repository to lookup in

#### Return Value

Type: ILoggerRepository
Return the default ILoggerRepository instance
Remarks

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

See Also

#### Reference

LoggerManager Class
GetRepository Overload
log4net.Core Namespace