aboutsummaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
authorspv <spv@spv.sh>2025-11-17 16:47:32 -0500
committerspv <spv@spv.sh>2025-11-17 16:47:32 -0500
commit6f2cd6be1d44fb13d75f66418c9a27b01b77a53d (patch)
tree7ba44fa400145e77ef487b9fd1de36d692e7cd9f /src/logger.h
parent6f010046f0f17a5684a0f30423e2b3c6a41099d1 (diff)
add WIP report gen, systemd user service, work time tracker, sig handling
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)