Represents an NLog
adapter.
More...
Inherits ILoggerAdapter.
|
| 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...
|
|
Represents an NLog
adapter.
◆ NLogLoggerAdapter()
◆ Debug() [1/2]
void Debug |
( |
string |
message | ) |
|
|
inline |
Passes message to the logger with debug level.
- Parameters
-
◆ Debug() [2/2]
void Debug |
( |
string |
message, |
|
|
Exception |
exception |
|
) |
| |
|
inline |
Passes message and exception information to the logger with debug level.
- Parameters
-
message | A message to log. |
exception | An exception to log. |
◆ Error() [1/2]
void Error |
( |
string |
message | ) |
|
|
inline |
Passes message to the logger with error level.
- Parameters
-
◆ Error() [2/2]
void Error |
( |
string |
message, |
|
|
Exception |
exception |
|
) |
| |
|
inline |
Passes message and exception information to the logger with error level.
- Parameters
-
message | A message to log. |
exception | An exception to log. |
◆ Fatal() [1/2]
void Fatal |
( |
string |
message | ) |
|
|
inline |
Passes message to the logger with fatal level.
- Parameters
-
◆ Fatal() [2/2]
void Fatal |
( |
string |
message, |
|
|
Exception |
exception |
|
) |
| |
|
inline |
Passes message and exception information to the logger with fatal level.
- Parameters
-
message | A message to log. |
exception | An exception to log. |
◆ Info() [1/2]
void Info |
( |
string |
message | ) |
|
|
inline |
Passes message to the logger with informational level.
- Parameters
-
◆ Info() [2/2]
void Info |
( |
string |
message, |
|
|
Exception |
exception |
|
) |
| |
|
inline |
Passes message and exception information to the logger with informational level.
- Parameters
-
message | A message to log. |
exception | An exception to log. |
◆ Warning() [1/2]
void Warning |
( |
string |
message | ) |
|
|
inline |
Passes message to the logger with warning level.
- Parameters
-
◆ Warning() [2/2]
void Warning |
( |
string |
message, |
|
|
Exception |
exception |
|
) |
| |
|
inline |
Passes message and exception information to the logger with warning level.
- Parameters
-
message | A message to log. |
exception | An exception to log. |
The documentation for this class was generated from the following file: