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 a value indicating whether NLogConfigurationException should be thrown. If null then ThrowExceptions is used.
Public propertyThrowExceptions
Gets or sets a value indicating whether exceptions should be thrown. See also ThrowConfigExceptions.
Top
See Also