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 a value indicating whether NLogConfigurationException should be thrown.
Public propertyStatic memberThrowExceptions
Gets or sets a value indicating whether NLog should throw exceptions. By default exceptions are not thrown under any circumstances.
Top
See Also