prettyJson property
Pretty print log payloads with indentation.
This changes whitespace only. Strings that contain JSON remain strings.
- 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;