Table of Contents

Constructor TraceEntry

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

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

Captures information about a trace event for debugging and testing.

public TraceEntry(TraceCategory Category, string Id, string Phase, string Method, string? Message, DateTime Timestamp, object? Data)

Parameters

Category TraceCategory

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

Id string

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

Phase string

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

Method string

The method name where the trace occurred.

Message string

Optional additional context message.

Timestamp DateTime

When the trace was captured.

Data object

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