2018-11-25 02:50:30 +00:00
|
|
|
#include "xenia/base/logging.h"
|
|
|
|
|
2020-03-02 15:37:11 +00:00
|
|
|
#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
|
|
|
}
|