prettyJson property
Pretty print json/map/list payloads with indentation.
- Only affects
Map,List, and JSON strings that can be decoded. - Use
EffDioLogger(prettyJson: true)to print formatted JSON logs. - Default is
false, so existing single-line output stays unchanged. - If you need the full pretty-printed payload, consider using
compact: falseandmaxWidth: nullto avoid truncation.
Implementation
final bool prettyJson;