MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / skr_log_flush

Function skr_log_flush

modules/core/core/src/core/log/log_worker.cpp:323–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321} } // namespace skr::log
322
323SKR_EXTERN_C
324void skr_log_flush()
325{
326 auto worker = skr::log::LogManager::Get()->TryGetWorker();
327 if (worker)
328 {
329 auto tid = skr_current_thread_id();
330 worker->flush(tid);
331 }
332}
333
334SKR_EXTERN_C
335void skr_log_initialize_async_worker()

Callers 1

onLogMethod · 0.85

Calls 3

GetFunction · 0.50
skr_current_thread_idFunction · 0.50
flushMethod · 0.45

Tested by

no test coverage detected