Common Logging 2.0 API Reference

AbstractCachingLoggerFactoryAdapter.GetLogger(String) Method

Get a ILog instance by name.

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

Parameters

name
Usually a Type's Name or FullName property.

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