Expand description
Canonical runtime diagnostic sanitization. Sanitize the canonical payload before persistence, logging, and display.
Structs§
Enums§
Functions§
- legacy_
diagnostic - Adapt legacy styled messages without dropping evidence after the summary. Correlation identity belongs to the producer; this adapter does not authorize actions.
- legacy_
ui_ diagnostic - Legacy calls represent separate incidents. Producers updating one incident
supply an explicit correlation identity through
Diagnosticinstead. - redact_
diagnostic - Apply the existing secret redaction to every externally supplied field.
Call before emitting a
ThreadEvent, not merely when drawing its UI. - stderr
- Early-startup/headless diagnostic boundary before a thread event sink exists. Formatting and redaction finish before stderr is touched.
- stderr_
diagnostic - Render a canonical diagnostic before any terminal UI is available.
Type Aliases§
- Diagnostic
Sink - Session-local observer shared by clones of one inline handle.