C# Класс 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.
Наследование: BaseLogService, ILogServiceAppendable
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Log4NetService System

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Log4NetService ( global logger ) : System

Initializes a new instance of the Log4NetService class.

Описание методов

AppendLogService() публичный Метод

public AppendLogService ( ILogService logService, object>.IDictionary additionalData = null ) : ILogLevelThresholdSelector
logService ILogService
additionalData object>.IDictionary
Результат ILogLevelThresholdSelector

Log() публичный Метод

Logs the specified log entry.
public Log ( ILogEntry entry ) : void
entry ILogEntry The entry to log.
Результат void

Log4NetService() публичный Метод

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.
Результат System