isReplaceNewline property

bool isReplaceNewline
getter/setter pair

Whether to replace newline characters and clean up whitespace for better search visibility in console Defaults to true in debug mode (kDebugMode), false in release mode When true, newline characters are replaced with newlineReplacement string

Recommendation:

  • Development: true (default in debug mode) for better console searchability
  • Production: false (default in release mode) to preserve original formatting

Implementation

static bool isReplaceNewline = kDebugMode;