Click or drag to resize

LogManagerThrowConfigExceptions Property

Gets or sets a value indicating whether NLogConfigurationException should be thrown.

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public static bool? ThrowConfigExceptions { get; set; }

Property Value

Type: NullableBoolean
A value of true if exception should be thrown; otherwise, false.
Remarks
This option is for backwards-compatibility. By default exceptions are not thrown under any circumstances.
See Also