Standard output
Use --stdout-format with text, jsonl, or json. Text begins each record with an event field.
Diagnostics
Use --stderr-format independently for lifecycle and diagnostic messages.
Automation
Prefer JSON Lines for streaming records and JSON when a command returns one bounded document.