C# Class Aspects.Logging.Nlog.NLogLogger

A logger that implements Nlog
Inheritance: Loggers.ILogger
Datei anzeigen 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.

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.

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

NLogLogger() public method

Initializes a new instance of the NLogLogger class.
public NLogLogger ( string loggerName ) : System
loggerName string Name of the logger.
return System

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