MCPcopy Create free account
hub / github.com/VitalAudio/visage / debugLogString

Function debugLogString

visage_utils/win32/defines.cpp:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31namespace visage {
32 void debugLogString(const char* file, unsigned int line, const String& log_message) {
33 OutputDebugStringA((std::string(file) + " (" + std::to_string(line) + ") ").c_str());
34 OutputDebugStringW(log_message.toWide().c_str());
35 if (log_message.isEmpty() || log_message[log_message.size() - 1] != '\n')
36 OutputDebugStringW(L"\n");
37 }
38
39 void debugLogArgs(const char* file, unsigned int line, const char* format, va_list arg_list) {
40 static constexpr int kSize = 500;

Callers 2

debugLogArgsFunction · 0.70
debugAssertFunction · 0.70

Calls 4

c_strMethod · 0.80
toWideMethod · 0.80
isEmptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected