C# Class Hawkeye.Logging.log4net.Log4NetService

Wraps the logging Log4Net logging framework into an Toaster.Logging.ILogService so that it can be used as any logging service of the Sopra framework.
Inheritance: BaseLogService, ILogServiceAppendable
Afficher le fichier Open project: odalet/Hawkeye2

Private Properties

Свойство Type Description
Log4NetService System

Méthodes publiques

Méthode Description
AppendLogService ( ILogService logService, object>.IDictionary additionalData = null ) : ILogLevelThresholdSelector
Log ( ILogEntry entry ) : void

Logs the specified log entry.

Log4NetService ( Type type ) : System

Initializes a new instance of the Log4NetService class.

As we don't state anything, log4net will look for its configuration inside the application's configuration file (web.config or app.exe.config) which will have to contain a <log4net> section.

Private Methods

Méthode Description
Log4NetService ( global logger ) : System

Initializes a new instance of the Log4NetService class.

Method Details

AppendLogService() public méthode

public AppendLogService ( ILogService logService, object>.IDictionary additionalData = null ) : ILogLevelThresholdSelector
logService ILogService
additionalData object>.IDictionary
Résultat ILogLevelThresholdSelector

Log() public méthode

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

Log4NetService() public méthode

Initializes a new instance of the Log4NetService class.
As we don't state anything, log4net will look for its configuration inside the application's configuration file (web.config or app.exe.config) which will have to contain a <log4net> section.
public Log4NetService ( Type type ) : System
type System.Type The type that requests the creation of a log service.
Résultat System