MCPcopy Create free account
hub / github.com/dobin/RedEdr / flush

Function flush

RedEdrShared/loguru.cpp:1565–1576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)

Callers 3

on_atexitFunction · 0.85
log_messageFunction · 0.85
signal_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected