Table of Contents

Struct TraceEntry

Namespace
Terminal.Gui.Tracing
Assembly
Terminal.Gui.dll

Captures information about a trace event for debugging and testing.

public readonly struct TraceEntry : IEquatable<TraceEntry>
Implements
Inherited Members

Constructors

TraceEntry(TraceCategory, string, string, string, string?, DateTime, object?)

Captures information about a trace event for debugging and testing.

Properties

Category

The trace category (Command, Mouse, Keyboard, etc.).

Data

Category-specific data (Command, MouseFlags, Key, etc.).

Id

Identifying string of the related object (e.g. View.ToIdentifyingString()).

Message

Optional additional context message.

Method

The method name where the trace occurred.

Phase

The phase of processing (e.g., "Entry", "Exit", "Routing").

Timestamp

When the trace was captured.

Methods

Deconstruct(out TraceCategory, out string, out string, out string, out string?, out DateTime, out object?)
Equals(object)
Equals(TraceEntry)
GetHashCode()
ToString()

Operators

operator ==(TraceEntry, TraceEntry)
operator !=(TraceEntry, TraceEntry)