prettyJson property

bool prettyJson
final

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: false and maxWidth: null to avoid truncation.

Implementation

final bool prettyJson;