Add log macros

- Add log macros required to match `Graph_GetNextGameState`
This commit is contained in:
Random
2020-04-04 19:28:53 +02:00
parent fed29c029c
commit 168d90b6b0
12 changed files with 31 additions and 37 deletions
-1
View File
@@ -98,7 +98,6 @@ void LogUtils_CheckValidPointer(const char* exp, void* ptr0, const char* file, s
}
}
// there's probalby a macro like this : MACRO(exp) LogUtils_LogThreadId(__FILE__, __LINE__); osSyncPrintf(exp)
void LogUtils_LogThreadId(const char* name, s32 line) {
osSyncPrintf("<%d %s %d>", osGetThreadId(NULL), name, line);
}