Expand description
log_debug / log_info / log_warn / log_error — pass-through
logging node functions (SRD-66 §“Surface 5”).
Each takes one wire input, emits a single diag line at the named level containing the value’s display form, and returns the input unchanged. The pass-through return value lets workloads insert logging into a binding chain without restructuring:
result: |
has_sai := log_info(regex_match(body, "..."))Probe phases run rarely and gate downstream dispatch — surfacing the detected facts at session start without a custom readout is the load-bearing use case.
Diag emission routes through crate::library::support::audit so the
host’s installed audit sink forwards every line to its own logger
alongside the rest of the run trace. With no sink installed (unit
tests, dryrun, pre-init) lines fall back to stderr.