Skip to main content

record_command

Function record_command 

Source
pub fn record_command(command: &str, outcome: &str, duration_ms: i64)
Expand description

Append one content-free usage event, if consent is recorded (ADR-046). Silent on every failure path — no consent, no command name, or an unwritable log all mean “record nothing”.