Don't block on writing logs
This commit is contained in:
parent
792069fef1
commit
4a988e3361
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class Network {
|
|||
responseBody: true,
|
||||
logPrint: (object) {
|
||||
log(object);
|
||||
SuperLogging.logFile.writeAsStringSync(
|
||||
SuperLogging.logFile.writeAsString(
|
||||
object.toString() + "\n",
|
||||
encoding: Utf8Codec(allowMalformed: true),
|
||||
flush: true,
|
||||
|
|
Loading…
Add table
Reference in a new issue