Add log flush
This commit is contained in:
parent
909970921e
commit
b8b8a6ed00
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ static void server_log(const char * level, const char * function, int line, cons
|
|||
|
||||
std::string str = log.dump(-1, ' ', false, json::error_handler_t::replace);
|
||||
fprintf(stdout, "%.*s\n", (int)str.size(), str.data());
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
static bool server_verbose = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue