MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / PrintMessage

Function PrintMessage

src/Common.cpp:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void PrintMessage(CONSOLE_COLOR color, const char* msg)
68{
69 if(color != CONSOLE_COLOR::NORMAL)
70 SetConsoleColor(color);
71
72 printf("%s\n", msg);
73
74 if (color != CONSOLE_COLOR::NORMAL)
75 SetConsoleColor(CONSOLE_COLOR::NORMAL);
76}
77
78void PrintMessage(CONSOLE_COLOR color, const wchar_t* msg)
79{

Callers 4

PrintMessageVFunction · 0.85
PrintFunction · 0.85
PrintWarningFunction · 0.85
PrintErrorFunction · 0.85

Calls 1

SetConsoleColorFunction · 0.85

Tested by

no test coverage detected