Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Commit 6b6f666

Browse files
committed
stream.flush (); needed always
1 parent 744703a commit 6b6f666

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Logger/Logger.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@ class Logger {
278278
if (addNewLine_) {
279279
stream << "\n";
280280
}
281+
282+
// Explicitně flushovat buffer pro okamžitý výstup
283+
stream.flush ();
281284
}
282285

283286
std::string buildHeader (const std::tm& now_tm, const std::string& caller, Level level) const {

0 commit comments

Comments
 (0)