 | LogManagerThrowExceptions Property |
Gets or sets a value indicating whether NLog should throw exceptions.
By default exceptions are not thrown under any circumstances.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic static bool ThrowExceptions { get; set; }
Public Shared Property ThrowExceptions As Boolean
Get
Set
Dim value As Boolean
value = LogManager.ThrowExceptions
LogManager.ThrowExceptions = value
static member ThrowExceptions : bool with get, set
Property Value
Type:
Boolean
See Also