C# Class Affecto.Logging.Log4Net.LogWriter

Inheritance: ILogWriter
Show file Open project: affecto/dotnet-Logging

Public Methods

Method Description
LogWriter ( ILoggerRepository loggerRepository, object source ) : System
WriteLog ( ICorrelation correlation, LogEventLevel eventLevel, Exception exception, string formatMessage ) : void
WriteLog ( LogEventLevel eventLevel, Exception exception, string formatMessage ) : void

Private Methods

Method Description
MapEventLevel ( LogEventLevel eventLevel ) : log4net.Core.Level

Method Details

LogWriter() public method

public LogWriter ( ILoggerRepository loggerRepository, object source ) : System
loggerRepository ILoggerRepository
source object
return System

WriteLog() public method

public WriteLog ( ICorrelation correlation, LogEventLevel eventLevel, Exception exception, string formatMessage ) : void
correlation ICorrelation
eventLevel LogEventLevel
exception System.Exception
formatMessage string
return void

WriteLog() public method

public WriteLog ( LogEventLevel eventLevel, Exception exception, string formatMessage ) : void
eventLevel LogEventLevel
exception System.Exception
formatMessage string
return void