C# Class Common.Logging.Log4Net.Log4NetLogger

Inheritance: Common.Logging.Factory.AbstractLogger
ファイルを表示 Open project: net-commons/common-logging

Public Methods

Method Description
GetLevel ( LogLevel logLevel ) : log4net.Core.Level

Maps LogLevel to log4net's Level

Protected Methods

Method Description
Log4NetLogger ( ILoggerWrapper log ) : System

Constructor

WriteInternal ( LogLevel logLevel, object message, Exception exception ) : void

Actually sends the message to the underlying log system.

Private Methods

Method Description
IsInTypeHierarchy ( Type currentType, Type checkType ) : bool

Method Details

GetLevel() public static method

Maps LogLevel to log4net's Level
public static GetLevel ( LogLevel logLevel ) : log4net.Core.Level
logLevel LogLevel
return log4net.Core.Level

Log4NetLogger() protected method

Constructor
protected Log4NetLogger ( ILoggerWrapper log ) : System
log ILoggerWrapper
return System

WriteInternal() protected method

Actually sends the message to the underlying log system.
protected WriteInternal ( LogLevel logLevel, object message, Exception exception ) : void
logLevel LogLevel the level of this log event.
message object the message to log
exception System.Exception the exception to log (may be null)
return void