| 27 | |
| 28 | |
| 29 | void LOG_W(int verbosity, const wchar_t* format, ...) |
| 30 | { |
| 31 | WCHAR message[DATA_BUFFER_SIZE] = L"[RedEdr PPL] "; |
| 32 | size_t offset = wcslen(message); |
| 33 | |
| 34 | va_list arg_ptr; |
| 35 | va_start(arg_ptr, format); |
| 36 | int ret = vswprintf(&message[offset], DATA_BUFFER_SIZE - offset, format, arg_ptr); |
| 37 | va_end(arg_ptr); |
| 38 | |
| 39 | Microsoft::VisualStudio::CppUnitTestFramework::Logger::WriteMessage(message); |
| 40 | } |
nothing calls this directly
no outgoing calls
no test coverage detected