InternalLogger Class |
Namespace: NLog.Common
The InternalLogger type exposes the following members.
| Name | Description | |
|---|---|---|
| IncludeTimestamp |
Gets or sets a value indicating whether timestamp should be included in internal log output.
| |
| IsDebugEnabled |
Gets a value indicating whether internal log includes Debug messages.
| |
| IsErrorEnabled |
Gets a value indicating whether internal log includes Error messages.
| |
| IsFatalEnabled |
Gets a value indicating whether internal log includes Fatal messages.
| |
| IsInfoEnabled |
Gets a value indicating whether internal log includes Info messages.
| |
| IsTraceEnabled |
Gets a value indicating whether internal log includes Trace messages.
| |
| IsWarnEnabled |
Gets a value indicating whether internal log includes Warn messages.
| |
| LogFile |
Gets or sets the file path of the internal log file.
| |
| LogLevel |
Gets or sets the minimal internal log level.
| |
| LogToConsole |
Gets or sets a value indicating whether internal messages should be written to the console output stream.
| |
| LogToConsoleError |
Gets or sets a value indicating whether internal messages should be written to the console error stream.
| |
| LogWriter |
Gets or sets the text writer that will receive internal logs.
|
| Name | Description | |
|---|---|---|
| Debug(String) |
Logs the specified message without an Exception at the Debug level.
| |
| Debug(Exception, String) |
Logs the specified message with an Exception at the Debug level.
| |
| Debug(String, Object) |
Logs the specified message without an Exception at the Debug level.
| |
| Debug(Exception, String, Object) |
Logs the specified message with an Exception at the Debug level.
| |
| DebugTArgument1(String, TArgument1) |
Logs the specified message without an Exception at the Trace level.
| |
| DebugTArgument1, TArgument2(String, TArgument1, TArgument2) |
Logs the specified message without an Exception at the Trace level.
| |
| DebugTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3) |
Logs the specified message without an Exception at the Trace level.
| |
| Error(String) |
Logs the specified message without an Exception at the Error level.
| |
| Error(Exception, String) |
Logs the specified message with an Exception at the Error level.
| |
| Error(String, Object) |
Logs the specified message without an Exception at the Error level.
| |
| Error(Exception, String, Object) |
Logs the specified message with an Exception at the Error level.
| |
| ErrorTArgument1(String, TArgument1) |
Logs the specified message without an Exception at the Trace level.
| |
| ErrorTArgument1, TArgument2(String, TArgument1, TArgument2) |
Logs the specified message without an Exception at the Trace level.
| |
| ErrorTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3) |
Logs the specified message without an Exception at the Trace level.
| |
| Fatal(String) |
Logs the specified message without an Exception at the Fatal level.
| |
| Fatal(Exception, String) |
Logs the specified message with an Exception at the Fatal level.
| |
| Fatal(String, Object) |
Logs the specified message without an Exception at the Fatal level.
| |
| Fatal(Exception, String, Object) |
Logs the specified message with an Exception at the Fatal level.
| |
| FatalTArgument1(String, TArgument1) |
Logs the specified message without an Exception at the Trace level.
| |
| FatalTArgument1, TArgument2(String, TArgument1, TArgument2) |
Logs the specified message without an Exception at the Trace level.
| |
| FatalTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3) |
Logs the specified message without an Exception at the Trace level.
| |
| Info(String) |
Logs the specified message without an Exception at the Info level.
| |
| Info(Exception, String) |
Logs the specified message with an Exception at the Info level.
| |
| Info(String, Object) |
Logs the specified message without an Exception at the Info level.
| |
| Info(Exception, String, Object) |
Logs the specified message with an Exception at the Info level.
| |
| InfoTArgument1(String, TArgument1) |
Logs the specified message without an Exception at the Trace level.
| |
| InfoTArgument1, TArgument2(String, TArgument1, TArgument2) |
Logs the specified message without an Exception at the Trace level.
| |
| InfoTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3) |
Logs the specified message without an Exception at the Trace level.
| |
| Log(LogLevel, FuncString) |
Logs the specified message without an Exception at the specified level.
messageFunc will be only called when logging is enabled for level level.
| |
| Log(LogLevel, String) |
Logs the specified message without an Exception at the specified level.
| |
| Log(Exception, LogLevel, FuncString) |
Logs the specified message with an Exception at the specified level.
messageFunc will be only called when logging is enabled for level level.
| |
| Log(Exception, LogLevel, String) |
Logs the specified message with an Exception at the specified level.
| |
| Log(LogLevel, String, Object) |
Logs the specified message without an Exception at the specified level.
| |
| Log(Exception, LogLevel, String, Object) |
Logs the specified message with an Exception at the specified level.
| |
| Reset |
Set the config of the InternalLogger with defaults and config.
| |
| Trace(String) |
Logs the specified message without an Exception at the Trace level.
| |
| Trace(Exception, String) |
Logs the specified message with an Exception at the Trace level.
| |
| Trace(String, Object) |
Logs the specified message without an Exception at the Trace level.
| |
| Trace(Exception, String, Object) |
Logs the specified message with an Exception at the Trace level.
| |
| TraceTArgument1(String, TArgument1) |
Logs the specified message without an Exception at the Trace level.
| |
| TraceTArgument1, TArgument2(String, TArgument1, TArgument2) |
Logs the specified message without an Exception at the Trace level.
| |
| TraceTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3) |
Logs the specified message without an Exception at the Trace level.
| |
| Warn(String) |
Logs the specified message without an Exception at the Warn level.
| |
| Warn(Exception, String) |
Logs the specified message with an Exception at the Warn level.
| |
| Warn(String, Object) |
Logs the specified message without an Exception at the Warn level.
| |
| Warn(Exception, String, Object) |
Logs the specified message with an Exception at the Warn level.
| |
| WarnTArgument1(String, TArgument1) |
Logs the specified message without an Exception at the Trace level.
| |
| WarnTArgument1, TArgument2(String, TArgument1, TArgument2) |
Logs the specified message without an Exception at the Trace level.
| |
| WarnTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3) |
Logs the specified message without an Exception at the Trace level.
|
| Name | Description | |
|---|---|---|
| InternalEventOccurred |
Internal LogEvent written to the InternalLogger
|