 | 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: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
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