Added spec:commit task to commit changes to spec/ruby sources.
[rbx.git] / shotgun / lib / log.h
blob99393471ab6f6abeeb513237c66eca481ca09e1b
2 #define THREAD_DEBUG 0
4 extern int debug_enabled;
6 #define DEBUG log_debug
7 void debug_enable();
8 void debug_disable();
9 void log_debug(const char *fmt, ...);
11 #if THREAD_DEBUG
12 #define THDEBUG log_debug
13 #else
14 #define THDEBUG(...)
15 #endif