Click or drag to resize

LogManager Properties

The LogManager type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAutoShutdown
Gets or sets a value indicating whether to automatically call Shutdown on AppDomain.Unload or AppDomain.ProcessExit
Public propertyStatic memberConfiguration
Gets or sets the current logging configuration.
Public propertyStatic memberGlobalThreshold
Gets or sets the global log threshold. Log events below this threshold are not logged.
Public propertyStatic memberKeepVariablesOnReload
Gets or sets a value indicating whether Variables should be kept on configuration reload.
Public propertyStatic memberLogFactory
Gets the LogFactory instance used in the LogManager.
Public propertyStatic memberThrowConfigExceptions
Gets or sets whether NLog should rethrow NLogConfigurationException to alert about configuration errors.
Public propertyStatic memberThrowExceptions
Gets or sets whether NLog should rethrow its own exceptions into the application instead of keeping them suppressed.
Top
See Also