LoggingModule/source/main.cpp

11 lines
227 B
C++
Raw Normal View History

2021-11-06 13:44:39 +01:00
#include <wums.h>
#include <coreinit/debug.h>
WUMS_MODULE_EXPORT_NAME("homebrew_logging");
bool WUMSLogWrite(const char *str, size_t size) {
OSConsoleWrite(str, size);
return true;
}
WUMS_EXPORT_FUNCTION(WUMSLogWrite);