Common Logging 2.0 API Reference

LogManager.GetLogger(String) Method

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

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

Parameters

name
The name.

Return Value

the logger instance obtained from the current Adapter

See Also

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