Expand description
SafLogLayer โ a tracing Layer that formats and emits SAF debug log lines.
Listens for tracing events with target "saf_debug", extracts the structured
fields (saf_module, saf_phase, saf_tag, saf_narrative, saf_kv),
checks them against the SafLogFilter, and writes formatted DSL lines.
Structsยง
- SafLog
Layer - A tracing
Layerthat emits SAF structured debug log lines. - SafLog
Visitor ๐ - Visitor that extracts SAF-specific fields from tracing events.