![]() Configuration | Gets or sets the current logging configuration. |
![]() GlobalThreshold | Global log threshold. Log events below this threshold are not logged. |
![]() ThrowExceptions | Specified whether NLog should throw exceptions. By default exceptions are not thrown under any circumstances. |
![]() CreateNullLogger | Creates a logger that discards all log messages. |
![]() DisableLogging | Decreases the log enable counter and if it reaches -1 the logs are disabled. |
![]() EnableLogging | Increases the log enable counter and if it reaches 0 the logs are disabled. |
![]() Flush | Overloaded. Flush any pending log messages (in case of asynchronous targets). |
![]() GetCurrentClassLogger | Gets the logger named after the currently-being-initialized class. |
![]() GetLogger | Gets the specified named logger. |
![]() IsLoggingEnabled | Returns true if logging is currently enabled. |
![]() ReconfigExistingLoggers | Loops through all loggers previously returned by GetLogger and recalculates their target and filter list. Useful after modifying the configuration programmatically to ensure that all loggers have been properly configured. |
![]() ConfigurationChanged | Occurs when logging Configuration changes. |
![]() ConfigurationReloaded | Occurs when logging Configuration gets reloaded. |
LogManager Class | NLog Namespace