Skip to content

Commit

Permalink
Flush string writer after use
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Lord committed Jan 22, 2016
1 parent 8db969b commit 161eb70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/chat/haver/server/Logger.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public static void printStackTrace(Exception e) {
for (String line : STRING_WRITER.toString().split("\\r?\\n")) {
severe(line);
}
STRING_WRITER.flush();
}

public static void info(String message) {
Expand Down

0 comments on commit 161eb70

Please sign in to comment.