MCPcopy Create free account
hub / github.com/dobin/RedEdr / LOG_W

Function LOG_W

UnitTests/logging.cpp:29–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28
29void 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected