MCPcopy Create free account
hub / github.com/Norbyte/bg3se / Debug

Function Debug

CoreLib/Utils.cpp:64–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void Debug(DebugMessageType type, _In_z_ _Printf_format_string_ char const* fmt, ...)
65{
66 if (gCoreLibPlatformInterface.GlobalConsole) {
67 va_list args;
68 va_start(args, fmt);
69 char buf[1024];
70 _vsnprintf_s(buf, std::size(buf), _TRUNCATE, fmt, args);
71 va_end(args);
72 gCoreLibPlatformInterface.GlobalConsole->Print(type, buf);
73 }
74}
75
76void DebugLocal(DebugMessageType type, _In_z_ _Printf_format_string_ char const* fmt, ...)
77{

Callers

nothing calls this directly

Calls 1

PrintMethod · 0.45

Tested by

no test coverage detected