| 65 | } |
| 66 | |
| 67 | static 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 | |
| 72 | void luxcore::Init(void (*LogHandler)(const char *)) { |
| 73 | slg::Init(); |
nothing calls this directly
no test coverage detected