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

Returns 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(
    	Assembly repositoryAssembly
    )

    Public Shared Function GetRepository (
    	repositoryAssembly As Assembly
    ) As ILoggerRepository

    public:
    static ILoggerRepository^ GetRepository(
    	Assembly^ repositoryAssembly
    )

    static member GetRepository :
            repositoryAssembly : Assembly -> ILoggerRepository

#### Parameters

repositoryAssembly
  Type: System.Reflection
  Assembly
  The assembly to use to lookup the repository.

#### Return Value

Type: ILoggerRepository
The default ILoggerRepository instance.
Remarks

Returns the default ILoggerRepository instance.

See Also

#### Reference

LoggerManager Class
GetRepository Overload
log4net.Core Namespace