summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-08-03 16:27:38 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-08-10 14:13:44 -0300
commit1557593ad4f6040014c826be74730d26bdca7aef (patch)
tree924e460cbf6a304af458e768ad98aa4a6a7f4d61
parent13faa84d29318c621eb5dc076e11bffdc06c2812 (diff)
dev: Change output of `log()` to `stderr`
-rw-r--r--macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.h b/macros.h
index 19e9c80..896193c 100644
--- a/macros.h
+++ b/macros.h
@@ -9,7 +9,7 @@
#ifndef LOG_H
#include "log.h"
-#define log(priority, ...) printlog(LOG_OUT_STDOUT, priority, __VA_ARGS__)
+#define log(priority, ...) printlog(LOG_OUT_STDERR, priority, __VA_ARGS__)
#define log_reason(priority, msg, ...) log(priority, msg " Reason %s", __VA_ARGS__)
#endif