CKFinder 3 – ASP.NET Connector Documentation
NLogLoggerAdapter Class Reference

Represents an NLog adapter. More...

Inherits ILoggerAdapter.

Public Member Functions

 NLogLoggerAdapter (ILogger logger)
 Constructs a new instance of NLogLoggerAdapter. More...
 
void Debug (string message)
 Passes message to the logger with debug level. More...
 
void Debug (string message, Exception exception)
 Passes message and exception information to the logger with debug level. More...
 
void Info (string message)
 Passes message to the logger with informational level. More...
 
void Info (string message, Exception exception)
 Passes message and exception information to the logger with informational level. More...
 
void Warning (string message)
 Passes message to the logger with warning level. More...
 
void Warning (string message, Exception exception)
 Passes message and exception information to the logger with warning level. More...
 
void Error (string message)
 Passes message to the logger with error level. More...
 
void Error (string message, Exception exception)
 Passes message and exception information to the logger with error level. More...
 
void Fatal (string message)
 Passes message to the logger with fatal level. More...
 
void Fatal (string message, Exception exception)
 Passes message and exception information to the logger with fatal level. More...
 

Detailed Description

Represents an NLog adapter.

Constructor & Destructor Documentation

◆ NLogLoggerAdapter()

NLogLoggerAdapter ( ILogger  logger)
inline

Constructs a new instance of NLogLoggerAdapter.

Parameters
loggerA NLog logger.

Member Function Documentation

◆ Debug() [1/2]

void Debug ( string  message)
inline

Passes message to the logger with debug level.

Parameters
messageA message to log.

◆ Debug() [2/2]

void Debug ( string  message,
Exception  exception 
)
inline

Passes message and exception information to the logger with debug level.

Parameters
messageA message to log.
exceptionAn exception to log.

◆ Error() [1/2]

void Error ( string  message)
inline

Passes message to the logger with error level.

Parameters
messageA message to log.

◆ Error() [2/2]

void Error ( string  message,
Exception  exception 
)
inline

Passes message and exception information to the logger with error level.

Parameters
messageA message to log.
exceptionAn exception to log.

◆ Fatal() [1/2]

void Fatal ( string  message)
inline

Passes message to the logger with fatal level.

Parameters
messageA message to log.

◆ Fatal() [2/2]

void Fatal ( string  message,
Exception  exception 
)
inline

Passes message and exception information to the logger with fatal level.

Parameters
messageA message to log.
exceptionAn exception to log.

◆ Info() [1/2]

void Info ( string  message)
inline

Passes message to the logger with informational level.

Parameters
messageA message to log.

◆ Info() [2/2]

void Info ( string  message,
Exception  exception 
)
inline

Passes message and exception information to the logger with informational level.

Parameters
messageA message to log.
exceptionAn exception to log.

◆ Warning() [1/2]

void Warning ( string  message)
inline

Passes message to the logger with warning level.

Parameters
messageA message to log.

◆ Warning() [2/2]

void Warning ( string  message,
Exception  exception 
)
inline

Passes message and exception information to the logger with warning level.

Parameters
messageA message to log.
exceptionAn exception to log.

The documentation for this class was generated from the following file: