Skip to main content

Module layer

Module layer 

Source
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ยง

SafLogLayer
A tracing Layer that emits SAF structured debug log lines.
SafLogVisitor ๐Ÿ”’
Visitor that extracts SAF-specific fields from tracing events.