Common Logging 2.0 API Reference

LogManager.GetLogger(T) Method

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

[Visual Basic]
Public Shared Sub GetLogger(Of T)()
[C#]
public static ILog GetLogger<T>();

Return Value

the logger instance obtained from the current Adapter

See Also

LogManager Class | Common.Logging Namespace