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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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