defaultLogger top-level property

Logger defaultLogger
getter/setter pair

Implementation

Logger defaultLogger = Logger((String message, Object? arg) {
  if (message.isNotEmpty) {
    print('$message $arg\n\n');
  } else {
    print('$arg\n\n');
  }
});