xenia-canary/third_party/mspack/logging.cc

13 lines
260 B
C++
Raw Normal View History

2018-11-25 02:50:30 +00:00
#include "xenia/base/logging.h"
#include <cstdarg>
2018-11-25 02:50:30 +00:00
extern "C" void xenia_log(const char* fmt, ...) {
char buffer[128];
va_list args;
va_start(args, fmt);
vsnprintf(buffer, sizeof(buffer), fmt, args);
va_end(args);
2020-02-28 20:30:48 +00:00
XELOGW("mspack: {}", buffer);
2018-11-25 02:50:30 +00:00
}