diff options
Diffstat (limited to 'helper.h')
-rw-r--r-- | helper.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -24,5 +24,17 @@ static inline int max(const int a, const int b) return a > b ? a : b; } +typedef enum { + DEBUG_FATAL = 0, + DEBUG_WARNING = 1, + DEBUG_INFO = 2, + DEBUG_VERBOSE = 3, + DEBUG_TRACE = 4, +} DebugLevel; + +extern DebugLevel _debugLevel; + +void plog(const DebugLevel debugLevel, char *args, ...); + #endif |