diff options
Diffstat (limited to 'src/utils.cc')
-rw-r--r-- | src/utils.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.cc b/src/utils.cc index c3fecca0..b8acb3db 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -593,6 +593,7 @@ bool logger_func(log_level_t level) } *_log_stream << ' ' << _log_buffer.str() << std::endl; + _log_buffer.clear(); _log_buffer.str(""); return true; @@ -663,6 +664,7 @@ void start_timer(const char * name, log_level_t lvl) (*i).second.begin = TRUE_CURRENT_TIME(); (*i).second.active = true; } + _log_buffer.clear(); _log_buffer.str(""); #if defined(VERIFY_ON) |