LogFactory Properties |
The LogFactory type exposes the following members.
Name | Description | |
---|---|---|
AutoShutdown |
Gets or sets a value indicating whether to automatically call Shutdown
on AppDomain.Unload or AppDomain.ProcessExit
| |
Configuration |
Gets or sets the current logging configuration.
| |
DefaultCultureInfo |
Gets or sets the default culture info to use as FormatProvider.
| |
GlobalThreshold |
Gets or sets the global log level threshold. Log events below this threshold are not logged.
| |
KeepVariablesOnReload |
Gets or sets a value indicating whether Variables should be kept on configuration reload.
| |
ServiceRepository |
Repository of interfaces used by NLog to allow override for dependency injection
| |
ThrowConfigExceptions |
Gets or sets a value indicating whether NLogConfigurationException should be thrown.
If null then ThrowExceptions is used.
| |
ThrowExceptions |
Gets or sets a value indicating whether exceptions should be thrown. See also ThrowConfigExceptions.
|