pub fn record_timed(
purpose: &'static str,
entity: &str,
outcome: Outcome,
text: Option<&str>,
timing: Option<Timing>,
)Expand description
Record one outcome: count it, and log it at info with the purpose, the entity
and, when the call ran, how long it queued and ran. text (the reply, or the
reason a call failed) is logged by its length only: it is model output about a
conversation, and no log level carries that
(docs/specs/SPEC_HISTORY_COMPACT_FORM_ONLY_2026_11_23.md section 3 row 10).