aboutsummaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/logger.h b/src/logger.h
index 4350cf1..99b7b04 100644
--- a/src/logger.h
+++ b/src/logger.h
@@ -10,12 +10,9 @@ enum log_levels {
LOG_INSANEDEBUG,
};
-#define LOGFP stderr
-#define LOGLEVEL
-
#define LOG(LEVEL, args...) do { \
if (LEVEL <= LOG_LEVEL) { \
- fprintf(LOGFP, args); \
+ fprintf(LOG_FP, args); \
} \
} while (0)