MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / SLGDebugHandler

Function SLGDebugHandler

src/luxcore/luxcore.cpp:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67static void SLGDebugHandler(const char *msg) {
68 if (LuxCore_LogHandler)
69 LuxCore_LogHandler((boost::format("[LuxCore][%.3f] %s") % (WallClockTime() - lcInitTime) % msg).str().c_str());
70}
71
72void luxcore::Init(void (*LogHandler)(const char *)) {
73 slg::Init();

Callers

nothing calls this directly

Calls 4

formatFunction · 0.85
WallClockTimeFunction · 0.85
c_strMethod · 0.80
strMethod · 0.45

Tested by

no test coverage detected