C# Class NContext.Extensions.Logging.LogManager

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

Méthodes publiques

Méthode 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 méthode

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

Log() public méthode

Logs the specified log entry.
public Log ( LogEntry logEntry ) : void
logEntry LogEntry The log entry.
Résultat void

LogManager() public méthode

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