Common Logging 2.0 API Reference

LogManager.GetLogger(Type) Method

Gets the logger by calling GetLogger on the currently configured Adapter using the specified type.

[Visual Basic]
Public Overloads Shared Sub GetLogger( _
   ByVal type As Type _
)
[C#]
public static ILog GetLogger(
   Type type
);

Parameters

type
The type.

Return Value

the logger instance obtained from the current Adapter

See Also

LogManager Class | Common.Logging Namespace | LogManager.GetLogger Overload List