defaultPrinter property
Function that can be passed into listen
method to print a LogRecord.
Prints [$time] (${level.name}) $message
.
Implementation
static void Function(LogRecord) defaultPrinter =
LogRecord.createPrinter(r'[$time] (${level.name}) $scope: $message');