Click or drag to resize

LogFactory Properties

The LogFactory type exposes the following members.

Properties
  NameDescription
Public propertyAutoShutdown
Gets or sets a value indicating whether to automatically call Shutdown on AppDomain.Unload or AppDomain.ProcessExit
Public propertyConfiguration
Gets or sets the current logging configuration.
Public propertyDefaultCultureInfo
Gets or sets the default culture info to use as FormatProvider.
Public propertyGlobalThreshold
Gets or sets the global log level threshold. Log events below this threshold are not logged.
Public propertyKeepVariablesOnReload
Gets or sets a value indicating whether Variables should be kept on configuration reload.
Public propertyServiceRepository
Repository of interfaces used by NLog to allow override for dependency injection
Public propertyThrowConfigExceptions
Gets or sets whether NLog should rethrow NLogConfigurationException to alert about configuration errors.
Public propertyThrowExceptions
Gets or sets whether NLog should rethrow its own exceptions into the application instead of keeping them suppressed.
Top
See Also