Click or drag to resize

LogFactoryThrowExceptions Property

Gets or sets a value indicating whether exceptions should be thrown. See also ThrowConfigExceptions.

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

Property Value

Type: Boolean
A value of true if exception should be thrown; otherwise, false.
Remarks
By default exceptions are not thrown under any circumstances.
See Also