Don't block on flushing the log output to disk

This commit is contained in:
Vishnu Mohandas 2020-11-22 21:21:43 +05:30
parent 4ef302f9a2
commit 51b08a242f

View file

@ -20,7 +20,6 @@ class Network {
SuperLogging.logFile.writeAsString(
object.toString() + "\n",
encoding: Utf8Codec(allowMalformed: true),
flush: true,
mode: FileMode.append,
);
}));