Skip to content

Commit

Permalink
flush log files at every print to avoid buffering issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Oct 3, 2024
1 parent 9d00aca commit da3f885
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export class LogFileHandler extends FileHandler {
// Ignore any messages that are blank
if (msg !== "") {
this.logger.log(msg);
this.flush();
}
}
}
Expand Down

0 comments on commit da3f885

Please sign in to comment.