mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
flush logger output
This commit is contained in:
@@ -82,6 +82,7 @@ public:
|
||||
*m_out << "[" << get_timestamp() << "] "
|
||||
<< "[" << names::channel_name(channel) << "] "
|
||||
<< msg << "\n";
|
||||
m_out.flush();
|
||||
}
|
||||
|
||||
void write(level channel, const char* msg) {
|
||||
@@ -90,6 +91,7 @@ public:
|
||||
*m_out << "[" << get_timestamp() << "] "
|
||||
<< "[" << names::channel_name(channel) << "] "
|
||||
<< msg << "\n";
|
||||
m_out.flush();
|
||||
}
|
||||
|
||||
bool static_test(level channel) const {
|
||||
|
||||
Reference in New Issue
Block a user