MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / LogAndMessage

Method LogAndMessage

src/Utilities/Debug.cpp:41–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void Debug::LogAndMessage(const char* pFormat, ...)
42{
43 va_list args;
44 va_start(args, pFormat);
45 vsprintf_s(StringBuffer, pFormat, args);
46 Log("%s", StringBuffer);
47 va_end(args);
48 wchar_t buffer[0x1000];
49 CRT::mbstowcs(buffer, StringBuffer, 0x1000);
50 MessageListClass::Instance.PrintMessage(buffer);
51}
52
53void Debug::LogWithVArgs(const char* pFormat, va_list args)
54{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected