C# Class Aspects.Logging.Loggers.ConsoleLogger

Represents a logger that logs to the console using color output
Inheritance: ILogger
Afficher le fichier Open project: vnvizitiu/AOP

Méthodes publiques

Méthode 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 méthode

Logs the message with debug level.
public Debug ( string message ) : void
message string The message.
Résultat void

Error() public méthode

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

Fatal() public méthode

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

Info() public méthode

Logs the message with debug level.
public Info ( string message ) : void
message string The message.
Résultat void

Trace() public méthode

Logs the message with trace level.
public Trace ( string message ) : void
message string The message.
Résultat void

Warn() public méthode

Logs the message with warn level.
public Warn ( string message ) : void
message string The message.
Résultat void