pub fn to_jsonl(records: &[UsageRecord]) -> Result<String, Error>Expand description
Serialize records as JSONL (one UsageRecord per line) — the same
shape every other append-log in this crate uses (the transcript, the
sidecar). Never fails on an empty slice (produces an empty string).