summaryrefslogtreecommitdiff
path: root/src/logging/logging.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-06-16 21:17:18 -0500
committersanine <sanine.not@pm.me>2022-06-16 21:17:18 -0500
commitddce0017ea8462012a3c05e3804bf026c1c0ebcf (patch)
tree0b4ce8d91c6d1e9dba59c9faba459a20c1fb5b6a /src/logging/logging.h
parentc6262360d067fb988e06266865701bee9ddf4231 (diff)
rename logging functions from honey_* to honey_log_*
Diffstat (limited to 'src/logging/logging.h')
-rw-r--r--src/logging/logging.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/logging/logging.h b/src/logging/logging.h
index ad63a9c..f829169 100644
--- a/src/logging/logging.h
+++ b/src/logging/logging.h
@@ -13,11 +13,11 @@ extern int _honey_log_level;
void honey_set_log_level(int level);
void honey_log(int level, const char *fmt, ...);
-#define honey_fatal(...) honey_log(HONEY_FATAL, "[FATAL] "__VA_ARGS__)
-#define honey_error(...) honey_log(HONEY_ERROR, "[ERROR] "__VA_ARGS__)
-#define honey_warn(...) honey_log(HONEY_WARN, "[WARN] " __VA_ARGS__)
-#define honey_info(...) honey_log(HONEY_INFO, "[INFO] " __VA_ARGS__)
-#define honey_debug(...) honey_log(HONEY_DEBUG, "[DEBUG] "__VA_ARGS__)
-#define honey_trace(...) honey_log(HONEY_TRACE, "[TRACE] "__VA_ARGS__)
+#define honey_log_fatal(...) honey_log(HONEY_FATAL, "[FATAL] "__VA_ARGS__)
+#define honey_log_error(...) honey_log(HONEY_ERROR, "[ERROR] "__VA_ARGS__)
+#define honey_log_warn(...) honey_log(HONEY_WARN, "[WARN] " __VA_ARGS__)
+#define honey_log_info(...) honey_log(HONEY_INFO, "[INFO] " __VA_ARGS__)
+#define honey_log_debug(...) honey_log(HONEY_DEBUG, "[DEBUG] "__VA_ARGS__)
+#define honey_log_trace(...) honey_log(HONEY_TRACE, "[TRACE] "__VA_ARGS__)
#endif