Expand description
Host black-box journal (WIDGET_DEBUG / debug builds).
Host-side black-box journal for widget delivery diagnostics.
Enabled in debug builds, or in release when WIDGET_DEBUG=1.
Events stay in a memory ring (cap 200); disk flush is never per-event —
only on timer / explicit get_widget_trace / flush_widget_trace.
Structs§
- Trace
Entry - Timestamped
TraceEventin the ring. - Trace
Store - Process-wide style store held on
crate::desktop::Widget/ mobile. - Widget
Trace - Snapshot returned by
get_widget_trace.
Enums§
- Trace
Event - One journal entry.
Constants§
- TRACE_
FILE_ NAME - On-disk journal filename under the widgets data dir.
Functions§
- trace_
enabled - Whether the in-memory / disk journal is active.
- trace_
path - Default disk path under an app data dir.