debugPrint property
The function used by drift to emit debug prints.
This is the function used with logStatements: true
on databases and
debugLog
on isolates.
Implementation
void Function(String) debugPrint = (text) =>
RegExp('.{1,300}').allMatches(text).map((m) => m.group(0)).forEach(print);