C# Class BlueCollar.EmptyLogger

Implements ILogger as a stub of no-ops.
Inheritance: ILogger
Show file Open project: ChadBurggraf/blue-collar

Public Methods

Method Description
Debug ( string format ) : void

Logs a debug message.

Error ( Exception ex ) : void

Logs an exception.

Error ( Exception ex, string format ) : void

Logs an error.

Error ( string format ) : void

Logs an error.

Info ( string format ) : void

Logs an information message.

Warn ( string format ) : void

Logs a warning.

Method Details

Debug() public method

Logs a debug message.
public Debug ( string format ) : void
format string The format of the message to log.
return void

Error() public method

Logs an exception.
public Error ( Exception ex ) : void
ex System.Exception The exception to log.
return void

Error() public method

Logs an error.
public Error ( Exception ex, string format ) : void
ex System.Exception The exception to log.
format string The format of the message to log.
return void

Error() public method

Logs an error.
public Error ( string format ) : void
format string The format of the message to log.
return void

Info() public method

Logs an information message.
public Info ( string format ) : void
format string The format of the message to log.
return void

Warn() public method

Logs a warning.
public Warn ( string format ) : void
format string The format of the message to log.
return void