#ifndef __JITTERBUG_LOG_H #define __JITTERBUG_LOG_H #include "config.h" #ifdef JB_ENABLE_VERBOSE #define VERBOSE printf #else #define VERBOSE(...) #endif #ifdef JB_ENABLE_WARN #define WARN printf #else #define WARN(...) #endif #define ERROR(...) fprintf(stderr, __VA_ARGS__) #define STUB(M_where, M_kind) WARN("stub: %s: %s\n", (M_where), (M_kind)) #endif // __JITTERBUG_LOG_H