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

Method onLog

modules/core/core/src/core/log/logger.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void Logger::onLog(const LogEvent& ev) SKR_NOEXCEPT
70{
71 if (auto should_backtrace = LogManager::Get()->ShouldBacktrace(ev))
72 {
73 skr_log_flush();
74 }
75}
76
77void Logger::sinkDefaultImmediate(const LogEvent& e, skr::StringView what) const SKR_NOEXCEPT
78{

Callers

nothing calls this directly

Calls 3

skr_log_flushFunction · 0.85
ShouldBacktraceMethod · 0.80
GetFunction · 0.50

Tested by

no test coverage detected