| 1563 | #endif |
| 1564 | |
| 1565 | void flush() |
| 1566 | { |
| 1567 | std::lock_guard<std::recursive_mutex> lock(s_mutex); |
| 1568 | fflush(stderr); |
| 1569 | for (const auto& callback : s_callbacks) |
| 1570 | { |
| 1571 | if (callback.flush) { |
| 1572 | callback.flush(callback.user_data); |
| 1573 | } |
| 1574 | } |
| 1575 | s_needs_flushing = false; |
| 1576 | } |
| 1577 | |
| 1578 | LogScopeRAII::LogScopeRAII(Verbosity verbosity, const char* file, unsigned line, const char* format, va_list vlist) : |
| 1579 | _verbosity(verbosity), _file(file), _line(line) |
no outgoing calls
no test coverage detected