Skip to content

Commit b68df5a

Browse files
Flush stdout after each log line (#34449)
Fixes #34237
1 parent c0d76b3 commit b68df5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/platform/logging/impl/stdio/Logging.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ void LogV(const char * module, uint8_t category, const char * msg, va_list v)
5959
printf("[%s] ", module);
6060
vprintf(msg, v);
6161
printf("\033[0m\n");
62+
fflush(stdout);
6263

6364
#if defined(_POSIX_THREAD_SAFE_FUNCTIONS)
6465
funlockfile(stdout);

0 commit comments

Comments
 (0)