C# Class dotnetliberty.AspNet.log4net.Log4NetAdapter

Inheritance: ILogger
显示文件 Open project: ashimoon/dotnetliberty.AspNet.log4net Class Usage Examples

Public Methods

Method Description
BeginScopeImpl ( object state ) : IDisposable
IsEnabled ( LogLevel logLevel ) : bool
Log ( LogLevel logLevel, int eventId, object state, Exception exception, Func formatter ) : void
Log4NetAdapter ( string loggerName ) : log4net

Method Details

BeginScopeImpl() public method

public BeginScopeImpl ( object state ) : IDisposable
state object
return IDisposable

IsEnabled() public method

public IsEnabled ( LogLevel logLevel ) : bool
logLevel LogLevel
return bool

Log() public method

public Log ( LogLevel logLevel, int eventId, object state, Exception exception, Func formatter ) : void
logLevel LogLevel
eventId int
state object
exception System.Exception
formatter Func
return void

Log4NetAdapter() public method

public Log4NetAdapter ( string loggerName ) : log4net
loggerName string
return log4net