Commit 1c7c3a8d authored by Leon Tappe's avatar Leon Tappe 🔥
Browse files

remove async from log listener

not needed anymore
parent e03c34ea
......@@ -53,7 +53,7 @@ Future<void> startLogging() async {
final logSink = logFile.openWrite(mode: FileMode.writeOnlyAppend);
Logger.root.level = Level.ALL; // defaults to Level.INFO
Logger.root.onRecord.listen((record) async {
Logger.root.onRecord.listen((record) {
final line = '${record.loggerName}/${}: ${record.time}: ${record.message}';
if (mySqlLogNames.contains(record.loggerName)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment