Skip to content

Commit

Permalink
Update Logging.cpp
Browse files Browse the repository at this point in the history
Flush all logged messages
  • Loading branch information
gladystonfranca authored Jul 23, 2024
1 parent 63959ca commit 8ea6886
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/logging/impl/stdio/Logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ void LogV(const char * module, uint8_t category, const char * msg, va_list v)
printf("[%s] ", module);
vprintf(msg, v);
printf("\033[0m\n");
fflush(stdout);

#if defined(_POSIX_THREAD_SAFE_FUNCTIONS)
funlockfile(stdout);
Expand Down

0 comments on commit 8ea6886

Please sign in to comment.