summaryrefslogtreecommitdiff
path: root/src/logging/logging.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-06-14 20:53:14 -0500
committersanine <sanine.not@pm.me>2022-06-14 20:53:14 -0500
commit31c6a0939a23b2ce1b450168b93c371f1a3e8d13 (patch)
treee9996748ae24278232fb6f670c15084d62499c8c /src/logging/logging.c
parent5d5af62d63c331245a1cb41433fabc0ac25754b6 (diff)
do not log if log level is too low
Diffstat (limited to 'src/logging/logging.c')
-rw-r--r--src/logging/logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging/logging.c b/src/logging/logging.c
index cb720a4..255da4c 100644
--- a/src/logging/logging.c
+++ b/src/logging/logging.c
@@ -10,7 +10,7 @@ void honey_set_log_level(int level)
void honey_log(int level, const char *fmt, ...) {
- //if (level > _honey_log_level) return;
+ if (level > _honey_log_level) return;
va_list args;
va_start(args, fmt);