Batching structured logs on device and shipping on next foreground (and on background flush). Mobile networks are unreliable; per-line streaming wastes battery. This cookbook builds a small buffer you own before adopting Datadog or a custom ingest API.
// Include the same ids Sentry and OTel uselogger.info("checkout_started", { sessionId, release, otaUpdateId: Updates.updateId, traceId, // from opentelemetry-on-mobile when enabled});
Logs without shared ids are orphan narratives - always copy sessionId from Observability Basics
Upload batches before heavy crash reproduction attempts - device logs rotate quickly