diff options
-rw-r--r-- | include/log.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/log.h b/include/log.h index f5f423e..4cf5af3 100644 --- a/include/log.h +++ b/include/log.h @@ -27,15 +27,10 @@ #define log_error(str) _logf(LIBSEAT_LOG_LEVEL_ERROR, "[%s:%d] %s", __FILENAME__, __LINE__, str) -#ifdef DEBUG #define log_debugf(fmt, ...) \ _logf(LIBSEAT_LOG_LEVEL_DEBUG, "[%s:%d] " fmt, __FILENAME__, __LINE__, __VA_ARGS__) #define log_debug(str) _logf(LIBSEAT_LOG_LEVEL_DEBUG, "[%s:%d] %s", __FILENAME__, __LINE__, str) -#else -#define log_debugf(fmt, ...) -#define log_debug(str) -#endif void log_init(void); void _logf(enum libseat_log_level level, const char *fmt, ...) ATTRIB_PRINTF(2, 3); |