prettyJson property

bool prettyJson
final

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

Implementation

final bool prettyJson;