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

Note: This API is now obsolete.

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

    [ObsoleteAttribute("Use GetRepository instead of GetLoggerRepository")]
    public static ILoggerRepository GetLoggerRepository(
    	Assembly repositoryAssembly
    )

    <ObsoleteAttribute("Use GetRepository instead of GetLoggerRepository")>
    Public Shared Function GetLoggerRepository (
    	repositoryAssembly As Assembly
    ) As ILoggerRepository

    public:
    [ObsoleteAttribute(L"Use GetRepository instead of GetLoggerRepository")]
    static ILoggerRepository^ GetLoggerRepository(
    	Assembly^ repositoryAssembly
    )

    [<ObsoleteAttribute("Use GetRepository instead of GetLoggerRepository")>]
    static member GetLoggerRepository :
            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.
See Also

#### Reference

LoggerManager Class
GetLoggerRepository Overload
log4net.Core Namespace