Common Logging 2.0 API Reference

LogManager Members

LogManager overview

Public Static (Shared) Fields

COMMON_LOGGING_SECTION The name of the default configuration section to read settings from.

Public Static (Shared) Properties

Adapter Gets or sets the adapter.
ConfigurationReader Gets the configuration reader used to initialize the LogManager.

Public Static (Shared) Methods

GetCurrentClassLogger Gets the logger by calling GetLogger on the currently configured Adapter using the type of the calling class.
GetLoggerOverloaded. Gets the logger by calling GetLogger on the currently configured Adapter using the specified type.
GetLogger(T) Gets the logger by calling GetLogger on the currently configured Adapter using the specified type.
ResetOverloaded. Reset the Common.Logging infrastructure to its default settings. This means, that configuration settings will be re-read from section <common/logging> of your app.config.

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

LogManager Class | Common.Logging Namespace | ILog | Adapter | ILoggerFactoryAdapter | ConfigurationSectionHandler