fixed logging behaviour

This commit is contained in:
Aidan Hahn 2019-05-26 21:33:40 -07:00
parent 8dcccc86ba
commit 97e2310c22
No known key found for this signature in database
GPG key ID: 327711E983899316
3 changed files with 8 additions and 1 deletions

View file

@ -54,7 +54,8 @@ class SimpleLogger {
if (this.writable) {
try {
this.logWriter.write(message);
this.logWriter.write(message + "\n");
this.logWriter.flush();
} catch (IOException e) {
System.out.println(e.getMessage());