C# Класс Aspects.Logging.Nlog.NLogLogger

A logger that implements Nlog
Наследование: Loggers.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.

NLogLogger ( string loggerName ) : System

Initializes a new instance of the NLogLogger class.

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

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

Initializes a new instance of the NLogLogger class.
public NLogLogger ( string loggerName ) : System
loggerName string Name of the logger.
Результат System

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