Force flush the logs to disk
This commit is contained in:
parent
c995e64822
commit
5ceda914b5
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ class Network {
|
|||
object.toString() + "\n",
|
||||
encoding: Utf8Codec(allowMalformed: true),
|
||||
mode: FileMode.append,
|
||||
flush: true,
|
||||
);
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue