| 30 | |
| 31 | namespace 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; |
no test coverage detected