fn build_logs_payload(entries: &[Value], now_unix: u64) -> ValueExpand description
Builds the SLS PutLogs JSON payload. Each entry becomes a log object of
string values (non-string fields JSON-encoded) plus a __time__ field.
Pure and network-free for testing.