Table of Contents

Enum ExceptionStyle

Namespace
LogAssertions.Render
Assembly
LogAssertions.dll

How LogSnapshotRenderer renders an exception attached to a record.

public enum ExceptionStyle

Fields

Full = 2

Render the exception's full ToString(), including the real stack trace and inner-exception chain. NOT deterministic across runs (JIT frame rotation, line-number drift): pair with a stack-trace scrubber when snapshotting.

StackTracePlaceholder = 1

Render {ExceptionTypeName}: {Message} {STACKTRACE}. The literal {STACKTRACE} token stands in for the volatile stack trace, so the line stays deterministic while still recording that a stack trace was present.

TypeAndMessage = 0

Render {ExceptionTypeName}: {Message} only. Fully deterministic.