C# Class MetroLog.InternalLogger

Inheritance: ILogger
Mostra file Open project: onovotny/MetroLog Class Usage Examples

Public Methods

Method Description
Debug ( string message ) : void
Debug ( string message, Exception ex = null ) : void
Error ( string message ) : void
Error ( string message, Exception ex = null ) : void
Fatal ( string message ) : void
Fatal ( string message, Exception ex = null ) : void
Info ( string message ) : void
Info ( string message, Exception ex = null ) : void
IsEnabled ( LogLevel level ) : bool
Log ( LogLevel logLevel, string message ) : void
Log ( LogLevel logLevel, string message, Exception ex ) : void
Trace ( string message ) : void
Trace ( string message, Exception ex = null ) : void
Warn ( string message ) : void
Warn ( string message, Exception ex = null ) : void

Private Methods

Method Description
InternalLogger ( ) : MetroLog.Internal

Method Details

Debug() public method

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

Debug() public method

public Debug ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

Error() public method

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

Error() public method

public Error ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

Fatal() public method

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

Fatal() public method

public Fatal ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

Info() public method

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

Info() public method

public Info ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

IsEnabled() public method

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

Log() public method

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

Log() public method

public Log ( LogLevel logLevel, string message, Exception ex ) : void
logLevel LogLevel
message string
ex System.Exception
return void

Trace() public method

public Trace ( string message ) : void
message string
return void

Trace() public method

public Trace ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

Warn() public method

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

Warn() public method

public Warn ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void