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
파일 보기 프로젝트 열기: odalet/Hawkeye2

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