C# Class Helios.Logging.LoggingAdapter

Abstract base class that implements most of the expected logger behavior
Inheritance: ILogger
Mostra file Open project: helios-io/helios

Public Methods

Method Description
Debug ( string format ) : void
Error ( Exception cause, string format ) : void
Error ( string format ) : void
Info ( string format ) : void
IsEnabled ( LogLevel logLevel ) : bool
Log ( LogLevel logLevel, string format ) : void
Warning ( Exception cause, string format ) : void
Warning ( string format ) : void

Protected Methods

Method Description
DebugInternal ( Debug message ) : void
ErrorInternal ( Error message ) : void
InfoInternal ( Info message ) : void
LoggingAdapter ( string logSource ) : System

All LogLevels are enabled by default.

WarningInternal ( Warning message ) : void

Method Details

Debug() public method

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

DebugInternal() protected abstract method

protected abstract DebugInternal ( Debug message ) : void
message Debug
return void

Error() public method

public Error ( Exception cause, string format ) : void
cause System.Exception
format string
return void

Error() public method

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

ErrorInternal() protected abstract method

protected abstract ErrorInternal ( Error message ) : void
message Error
return void

Info() public method

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

InfoInternal() protected abstract method

protected abstract InfoInternal ( Info message ) : void
message Info
return void

IsEnabled() public method

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

Log() public method

public Log ( LogLevel logLevel, string format ) : void
logLevel LogLevel
format string
return void

LoggingAdapter() protected method

All LogLevels are enabled by default.
protected LoggingAdapter ( string logSource ) : System
logSource string
return System

Warning() public method

public Warning ( Exception cause, string format ) : void
cause System.Exception
format string
return void

Warning() public method

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

WarningInternal() protected abstract method

protected abstract WarningInternal ( Warning message ) : void
message Warning
return void