C# Class Topshelf.Logging.ElmahLogWriter

Inheritance: LogWriter
Mostrar archivo Open project: phatboyg/Topshelf

Public Methods

Method Description
Debug ( LogWriterOutputProvider messageProvider ) : void
Debug ( object message ) : void
Debug ( object message, Exception exception ) : void
DebugFormat ( IFormatProvider provider, string format ) : void
DebugFormat ( string format ) : void
ElmahLogWriter ( ) : System
ElmahLogWriter ( ElmahLogLevels logLevels ) : System
ElmahLogWriter ( Elmah.ErrorLog log, ElmahLogLevels logLevels ) : System
Error ( LogWriterOutputProvider messageProvider ) : void
Error ( object message ) : void
Error ( object message, Exception exception ) : void
ErrorFormat ( IFormatProvider provider, string format ) : void
ErrorFormat ( string format ) : void
Fatal ( LogWriterOutputProvider messageProvider ) : void
Fatal ( object message ) : void
Fatal ( object message, Exception exception ) : void
FatalFormat ( IFormatProvider provider, string format ) : void
FatalFormat ( string format ) : void
Info ( LogWriterOutputProvider messageProvider ) : void
Info ( object message ) : void
Info ( object message, Exception exception ) : void
InfoFormat ( IFormatProvider provider, string format ) : void
InfoFormat ( string format ) : void
Log ( Topshelf.Logging.LoggingLevel level, LogWriterOutputProvider messageProvider ) : void
Log ( Topshelf.Logging.LoggingLevel level, object obj ) : void
Log ( Topshelf.Logging.LoggingLevel level, object obj, Exception exception ) : void
LogFormat ( Topshelf.Logging.LoggingLevel level, IFormatProvider formatProvider, string format ) : void
LogFormat ( Topshelf.Logging.LoggingLevel level, string format ) : void
Warn ( LogWriterOutputProvider messageProvider ) : void
Warn ( object message ) : void
Warn ( object message, Exception exception ) : void
WarnFormat ( IFormatProvider provider, string format ) : void
WarnFormat ( string format ) : void

Private Methods

Method Description
GetLogLevel ( ElmahLogLevelsEnum logLevel ) : string
IsLogLevelEnabled ( ElmahLogLevelsEnum logLevel ) : bool
WriteToElmah ( ElmahLogLevelsEnum logLevel, LogWriterOutputProvider messageProvider ) : void
WriteToElmah ( ElmahLogLevelsEnum logLevel, string format ) : void
WriteToElmah ( ElmahLogLevelsEnum logLevel, string message, Exception exception = null ) : void

Method Details

Debug() public method

public Debug ( LogWriterOutputProvider messageProvider ) : void
messageProvider LogWriterOutputProvider
return void

Debug() public method

public Debug ( object message ) : void
message object
return void

Debug() public method

public Debug ( object message, Exception exception ) : void
message object
exception System.Exception
return void

DebugFormat() public method

public DebugFormat ( IFormatProvider provider, string format ) : void
provider IFormatProvider
format string
return void

DebugFormat() public method

public DebugFormat ( string format ) : void
format string
return void

ElmahLogWriter() public method

public ElmahLogWriter ( ) : System
return System

ElmahLogWriter() public method

public ElmahLogWriter ( ElmahLogLevels logLevels ) : System
logLevels ElmahLogLevels
return System

ElmahLogWriter() public method

public ElmahLogWriter ( Elmah.ErrorLog log, ElmahLogLevels logLevels ) : System
log Elmah.ErrorLog
logLevels ElmahLogLevels
return System

Error() public method

public Error ( LogWriterOutputProvider messageProvider ) : void
messageProvider LogWriterOutputProvider
return void

Error() public method

public Error ( object message ) : void
message object
return void

Error() public method

public Error ( object message, Exception exception ) : void
message object
exception System.Exception
return void

ErrorFormat() public method

public ErrorFormat ( IFormatProvider provider, string format ) : void
provider IFormatProvider
format string
return void

ErrorFormat() public method

public ErrorFormat ( string format ) : void
format string
return void

Fatal() public method

public Fatal ( LogWriterOutputProvider messageProvider ) : void
messageProvider LogWriterOutputProvider
return void

Fatal() public method

public Fatal ( object message ) : void
message object
return void

Fatal() public method

public Fatal ( object message, Exception exception ) : void
message object
exception System.Exception
return void

FatalFormat() public method

public FatalFormat ( IFormatProvider provider, string format ) : void
provider IFormatProvider
format string
return void

FatalFormat() public method

public FatalFormat ( string format ) : void
format string
return void

Info() public method

public Info ( LogWriterOutputProvider messageProvider ) : void
messageProvider LogWriterOutputProvider
return void

Info() public method

public Info ( object message ) : void
message object
return void

Info() public method

public Info ( object message, Exception exception ) : void
message object
exception System.Exception
return void

InfoFormat() public method

public InfoFormat ( IFormatProvider provider, string format ) : void
provider IFormatProvider
format string
return void

InfoFormat() public method

public InfoFormat ( string format ) : void
format string
return void

Log() public method

public Log ( Topshelf.Logging.LoggingLevel level, LogWriterOutputProvider messageProvider ) : void
level Topshelf.Logging.LoggingLevel
messageProvider LogWriterOutputProvider
return void

Log() public method

public Log ( Topshelf.Logging.LoggingLevel level, object obj ) : void
level Topshelf.Logging.LoggingLevel
obj object
return void

Log() public method

public Log ( Topshelf.Logging.LoggingLevel level, object obj, Exception exception ) : void
level Topshelf.Logging.LoggingLevel
obj object
exception System.Exception
return void

LogFormat() public method

public LogFormat ( Topshelf.Logging.LoggingLevel level, IFormatProvider formatProvider, string format ) : void
level Topshelf.Logging.LoggingLevel
formatProvider IFormatProvider
format string
return void

LogFormat() public method

public LogFormat ( Topshelf.Logging.LoggingLevel level, string format ) : void
level Topshelf.Logging.LoggingLevel
format string
return void

Warn() public method

public Warn ( LogWriterOutputProvider messageProvider ) : void
messageProvider LogWriterOutputProvider
return void

Warn() public method

public Warn ( object message ) : void
message object
return void

Warn() public method

public Warn ( object message, Exception exception ) : void
message object
exception System.Exception
return void

WarnFormat() public method

public WarnFormat ( IFormatProvider provider, string format ) : void
provider IFormatProvider
format string
return void

WarnFormat() public method

public WarnFormat ( string format ) : void
format string
return void