C# Class Log4NetLogger, code

Inheritance: Microsoft.Extensions.Logging.ILogger
Show file Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
BeginScope ( state ) : IDisposable
IsEnabled ( LogLevel, logLevel ) : bool
Log ( LogLevel, logLevel, EventId, eventId, state, Exception, exception, Func, formatter ) : void
Log4NetLogger ( string name )

Method Details

BeginScope() public method

public BeginScope ( state ) : IDisposable
return IDisposable

IsEnabled() public method

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

Log() public method

public Log ( LogLevel, logLevel, EventId, eventId, state, Exception, exception, Func, formatter ) : void
logLevel LogLevel,
eventId EventId,
exception Exception,
formatter Func,
return void

Log4NetLogger() public method

public Log4NetLogger ( string name )
name string