pub fn record_with<T: Serialize>(kind: EventKind, fields: impl FnOnce() -> T)
Lazy producer: no payload construction or allocation when disabled.