MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / kdebug

Function kdebug

include/log.h:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70template <class... Args>
71void kdebug(const char* format, Args&&... args) {
72#ifdef _DEBUG
73 auto size = std::snprintf(nullptr, 0, format, std::forward<Args>(args)...);
74 BString msg(size + 1, '\0');
75 std::snprintf(msg.str(), size + 1, format, std::forward<Args>(args)...);
76 msg += "\n";
77 internal_log(msg, stderr);
78#endif
79}
80#endif

Callers 15

setAsyncMethod · 0.85
waitForEventsMethod · 0.85
setAsyncMethod · 0.85
waitForEventsMethod · 0.85
setAsyncMethod · 0.85
waitForEventsMethod · 0.85
setAsyncMethod · 0.85
waitForEventsMethod · 0.85
setAsyncMethod · 0.85
waitForEventsMethod · 0.85
openMethod · 0.85
getLockMethod · 0.85

Calls 2

internal_logFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected