Skip to content

Commit

Permalink
fix[logging]: Add flush
Browse files Browse the repository at this point in the history
  • Loading branch information
ContentsViewer committed Jul 18, 2024
1 parent 8c8ce75 commit b208cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nodec/logging/handlers/stdout_handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class StdoutHandler {

void operator()(const LogRecord &record) {
std::lock_guard<std::mutex> lock(ConsoleMutex::get());
std::cout << formatter_(record);
std::cout << formatter_(record) << std::flush;
}

private:
Expand Down

0 comments on commit b208cd0

Please sign in to comment.