LogManager GetLogger Method (Type) | Apache log4net™ SDK Documentation

Shorthand for GetLogger(string).

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

C#
VB
C++
F#
Copy

    public static ILog GetLogger(
    	Type type
    )

    Public Shared Function GetLogger (
    	type As Type
    ) As ILog

    public:
    static ILog^ GetLogger(
    	Type^ type
    )

    static member GetLogger :
            type : Type -> ILog

#### Parameters

type
  Type: System
  Type
  The full name of type will be used as the name of the logger to retrieve.

#### Return Value

Type: ILog
The logger with the name specified.
Remarks

Get the logger for the fully qualified name of the type specified.
See Also

#### Reference

LogManager Class
GetLogger Overload
log4net Namespace