C# Class Chinchilla.Logging.NLog.NLogLogger

Inheritance: ILogger
Afficher le fichier Open project: jonnii/chinchilla

Méthodes publiques

Méthode Description
Debug ( string message ) : void
DebugFormat ( string format ) : void
Error ( Exception exception ) : void
Error ( Exception exception, string message ) : void
ErrorFormat ( Exception exception, string format ) : void
Info ( string message ) : void
InfoFormat ( string format ) : void
LogInternal ( NLog.LogLevel level, string message, Exception ex = null ) : void

Log to the wrapped NLog logger

Méthodes protégées

Méthode Description
NLogLogger ( Logger logger ) : System

Wrap an instance of an NLog logger

Method Details

Debug() public méthode

public Debug ( string message ) : void
message string
Résultat void

DebugFormat() public méthode

public DebugFormat ( string format ) : void
format string
Résultat void

Error() public méthode

public Error ( Exception exception ) : void
exception System.Exception
Résultat void

Error() public méthode

public Error ( Exception exception, string message ) : void
exception System.Exception
message string
Résultat void

ErrorFormat() public méthode

public ErrorFormat ( Exception exception, string format ) : void
exception System.Exception
format string
Résultat void

Info() public méthode

public Info ( string message ) : void
message string
Résultat void

InfoFormat() public méthode

public InfoFormat ( string format ) : void
format string
Résultat void

LogInternal() public méthode

Log to the wrapped NLog logger
public LogInternal ( NLog.LogLevel level, string message, Exception ex = null ) : void
level NLog.LogLevel
message string
ex System.Exception
Résultat void

NLogLogger() protected méthode

Wrap an instance of an NLog logger
protected NLogLogger ( Logger logger ) : System
logger NLog.Logger NLog logger to wrap
Résultat System