25 #include "common/debug.h" 26 #include "common/textconsole.h" 28 #define HPL1_UNIMPLEMENTED(fnName) error("call to unimplemented function " #fnName) 34 kDebugResourceLoading,
47 kDebugLevelWarning = 2,
51 template<
typename... Args>
52 void logError(uint32 channels,
const char *fmt, Args... args) {
53 debugCN(kDebugLevelError, channels, fmt, args...);
56 template<
typename... Args>
57 void logWarning(uint32 channels,
const char *fmt, Args... args) {
58 debugCN(kDebugLevelWarning, channels, fmt, args...);
61 template<
typename... Args>
62 void logInfo(uint32 channels,
const char *fmt, Args... args) {
63 debugCN(kDebugLevelLog, channels, fmt, args...);
void void void void void void debugCN(int level, uint32 debugChannel, MSVC_PRINTF const char *s,...) GCC_PRINTF(3
Definition: algorithms.h:27