trimBase64 property
Collapse base64 blobs in the output instead of printing them in full.
The logger wraps every value at maxWidth and emits one line per 78-odd characters, so a response carrying photographs or fingerprints as base64 becomes tens of thousands of console lines and buries the request that caused it. With this on, a blob prints as a recognisable head plus a count:
║ "data": iVBORw0KGgoAAAANSUhEUg…
║ …[412903 base64 chars elided]
Everything else passes through byte for byte — a detail string, a case
number, a stack trace all read exactly as they did. Off by default,
because it rewrites the log stream and that should be a choice.
Composes with logPrint: the trimmer sits in front, so a custom sink receives lines that are already trimmed. For tuning, construct a Base64LogTrimmer and pass it as logPrint instead.
Implementation
final bool trimBase64;