C# Class Aspects.Logging.Loggers.ConsoleLogger

Represents a logger that logs to the console using color output
Inheritance: ILogger
Show file Open project: vnvizitiu/AOP

Public Methods

Method Description
Debug ( string message ) : void

Logs the message with debug level.

Error ( string message, Exception exception ) : void

Logs the message and exception with error level.

Fatal ( string message, Exception exception ) : void

Logs the message and exception with fatal level.

Info ( string message ) : void

Logs the message with debug level.

Trace ( string message ) : void

Logs the message with trace level.

Warn ( string message ) : void

Logs the message with warn level.

Method Details

Debug() public method

Logs the message with debug level.
public Debug ( string message ) : void
message string The message.
return void

Error() public method

Logs the message and exception with error level.
public Error ( string message, Exception exception ) : void
message string The message.
exception System.Exception The exception.
return void

Fatal() public method

Logs the message and exception with fatal level.
public Fatal ( string message, Exception exception ) : void
message string The message.
exception System.Exception The exception.
return void

Info() public method

Logs the message with debug level.
public Info ( string message ) : void
message string The message.
return void

Trace() public method

Logs the message with trace level.
public Trace ( string message ) : void
message string The message.
return void

Warn() public method

Logs the message with warn level.
public Warn ( string message ) : void
message string The message.
return void