C# Class NContext.Extensions.Logging.LogManager

Defines a log manager which leverages TPL Dataflow for efficient logging operations.
Inheritance: IManageLogging
Mostra file Open project: PowerDMS/NContext

Public Methods

Method Description
Configure ( ApplicationConfigurationBase applicationConfiguration ) : void

Configures the component instance. This method should set IsConfigured.

Log ( LogEntry logEntry ) : void

Logs the specified log entry.

LogManager ( LoggingConfiguration loggingConfiguration ) : System

Initializes a new instance of the LogManager class.

Method Details

Configure() public method

Configures the component instance. This method should set IsConfigured.
public Configure ( ApplicationConfigurationBase applicationConfiguration ) : void
applicationConfiguration ApplicationConfigurationBase The application configuration.
return void

Log() public method

Logs the specified log entry.
public Log ( LogEntry logEntry ) : void
logEntry LogEntry The log entry.
return void

LogManager() public method

Initializes a new instance of the LogManager class.
public LogManager ( LoggingConfiguration loggingConfiguration ) : System
loggingConfiguration LoggingConfiguration The logging configuration.
return System