Class NLogLogger
- Namespace
- Dynamicweb.Logging.NLog
- Assembly
- Dynamicweb.Logging.dll
Represents NLog logger
public class NLogLogger : LoggerBase, ILogger, IDisposable
- Inheritance
-
NLogLogger
- Implements
- Inherited Members
Methods
Debug(string, string, Exception)
Logs message with "debug" log level
public override void Debug(string message, string systemInfo, Exception ex)
Parameters
Error(string, string, Exception)
Logs message with "error" log level
public override void Error(string message, string systemInfo, Exception ex)
Parameters
Fatal(string, string, Exception)
Logs message with "fatal" log level
public override void Fatal(string message, string systemInfo, Exception ex)
Parameters
Info(string, string, Exception)
Logs message with "info" log level
public override void Info(string message, string systemInfo, Exception ex)
Parameters
Log(LogLevel, string, string, Exception)
Logs message with specific log level
public override void Log(LogLevel level, string message, string systemInfo, Exception ex)
Parameters
level
LogLevel- LogLevel
message
string- Message as string
systemInfo
string- SystemInfo as string
ex
Exception- Exception
Trace(string, string, Exception)
Logs message with "trace" log level
public override void Trace(string message, string systemInfo, Exception ex)
Parameters
Warn(string, string, Exception)
Logs message with "warning" log level
public override void Warn(string message, string systemInfo, Exception ex)