C# Класс Aspects.Logging.Loggers.ConsoleLogger

Represents a logger that logs to the console using color output
Наследование: ILogger
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Debug() публичный Метод

Logs the message with debug level.
public Debug ( string message ) : void
message string The message.
Результат void

Error() публичный Метод

Logs the message and exception with error level.
public Error ( string message, Exception exception ) : void
message string The message.
exception System.Exception The exception.
Результат void

Fatal() публичный Метод

Logs the message and exception with fatal level.
public Fatal ( string message, Exception exception ) : void
message string The message.
exception System.Exception The exception.
Результат void

Info() публичный Метод

Logs the message with debug level.
public Info ( string message ) : void
message string The message.
Результат void

Trace() публичный Метод

Logs the message with trace level.
public Trace ( string message ) : void
message string The message.
Результат void

Warn() публичный Метод

Logs the message with warn level.
public Warn ( string message ) : void
message string The message.
Результат void