setupLogging function
void
setupLogging()
Implementation
void setupLogging() {
dart_logging.Logger.root.level = dart_logging.Level.ALL;
dart_logging.Logger.root.onRecord.listen((record) {
stdout.writeln(
'${record.time} [${record.loggerName}] ${record.level.name}: ${record.message}',
);
stdout.flush();
});
}