C# Class SfSdk.Logging.NLogLogger

A logger implementing NLog.
Inheritance: ILog
Mostrar archivo Open project: ebeeb/SfSdk

Public Methods

Method Description
Error ( Exception exception ) : void

Logs the exception.

Info ( string format ) : void

Logs the message as info.

NLogLogger ( Type type ) : System

Creates an instance of the NLogLogger.

Warn ( string format ) : void

Logs the message as a warning.

Method Details

Error() public method

Logs the exception.
public Error ( Exception exception ) : void
exception System.Exception The exception.
return void

Info() public method

Logs the message as info.
public Info ( string format ) : void
format string A formatted message.
return void

NLogLogger() public method

Creates an instance of the NLogLogger.
public NLogLogger ( Type type ) : System
type System.Type The type of the class which shall be logged.
return System

Warn() public method

Logs the message as a warning.
public Warn ( string format ) : void
format string A formatted message.
return void