prettyJson property
Pretty print structured log payloads with indentation.
This changes whitespace only. Top-level strings, including strings that contain JSON, are emitted directly as text.
- Use
EffDioLogger(prettyJson: true)to print formatted JSON logs. - Default is
false, so output stays on one line. - If you need the full pretty-printed payload, consider using
compact: falseandmaxWidth: nullto avoid truncation.
Implementation
final bool prettyJson;