Update log format

This commit is contained in:
2023-08-31 15:08:50 +08:00
parent 252b1c018d
commit 45fb64f4af
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ void defaultLogger(LogRecord record) {
final error = record.error != null ? '${record.error}' : '';
// ignore: avoid_print
print(
'${record.level.name}: ${record.loggerName}: ${record.time}: ${record.message}$error$stack');
'${record.time}: ${record.level.name}: ${record.loggerName}: ${record.message}$error$stack');
}
Future<void> initLogger() async {