LoggerSwallowException Method

Logs that a first chance exception was intentionally not handled for the provided reason. In the LogFileViewer it will filter messages differently if it was indicated that they were swallowed.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
public static void SwallowException(
	Exception ex,
	string? message = null,
	string? details = null,
	MessageFlags additionalFlags = MessageFlags.None
)

Parameters

ex  Exception
the exception that was swallowed
message  String  (Optional)
message to include, such as a reason why it was swallowed.
details  String  (Optional)
additional details.
additionalFlags  MessageFlags  (Optional)
additional flags that can be set with this swallowed exception.

See Also