| 39 | } |
| 40 | |
| 41 | void 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 | |
| 53 | void Debug::LogWithVArgs(const char* pFormat, va_list args) |
| 54 | { |
nothing calls this directly
no outgoing calls
no test coverage detected