Skip to main content

log_to_surface

Function log_to_surface 

Source
pub fn log_to_surface(level: LogLevel, message: &str)
Expand description

Project a diagnostic line to the log bucket (the live terminal). Called by observer::log_categorized/the observer impls after the L1 intake (session.log + fold ring) and after the sink_active/min_level gate has decided the line should reach the live surface (SRD-87 §5). Routes to the installed channel — the sole fd owner — falling back to a direct colorized stderr write before any channel is installed (bootstrap), so behavior is unchanged.