Common Logging 2.0 API Reference

AbstractCachingLoggerFactoryAdapter.GetLogger(Type) Method

Get a ILog instance by Type.

[Visual Basic]
Public NotOverridable Overloads Sub GetLogger( _
   ByVal type As Type _
) _
    Implements ILoggerFactoryAdapter.GetLogger
[C#]
public ILog GetLogger(
   Type type
);

Parameters

type
Usually the Type of the current class.

Return Value

An ILog instance either obtained from the internal cache or created by a call to CreateLogger.

Implements

ILoggerFactoryAdapter.GetLogger

See Also

AbstractCachingLoggerFactoryAdapter Class | Common.Logging.Factory Namespace | AbstractCachingLoggerFactoryAdapter.GetLogger Overload List