Common Logging 2.0 API Reference

Common.Logging Namespace

This namespace contains all core classes making up the Common.Logging framework.

Namespace Hierarchy

Classes

Class Description
ConfigurationException The exception that is thrown when a configuration system error has occurred with Common.Logging
ConfigurationSectionHandler Used in an application's configuration file (App.Config or Web.Config) to configure the logging subsystem.
LogManager Use the LogManager's GetLogger or GetLogger methods to obtain ILog instances for logging.

Interfaces

Interface Description
IConfigurationReader Interface for basic operations to read .NET application configuration information.
ILog A simple logging interface abstracting logging APIs.
ILoggerFactoryAdapter LoggerFactoryAdapter interface is used internally by LogManager Only developers wishing to write new Common.Logging adapters need to worry about this interface.

Delegates

Delegate Description
FormatMessageHandler The type of method that is passed into e.g. Debug and allows the callback method to "submit" it's message to the underlying output system.

Enumerations

Enumeration Description
LogLevel The 7 possible logging levels