C++17ification! - Filesystem interaction now uses std::filesystem::path. - Usage of const char*, std::string have been changed to std::string_view where appropriate. - Usage of printf-style functions changed to use fmt.
13 lines
260 B
C++
13 lines
260 B
C++
#include "xenia/base/logging.h"
|
|
|
|
#include <cstdarg>
|
|
|
|
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);
|
|
XELOGW("mspack: %s", buffer);
|
|
}
|