summaryrefslogtreecommitdiff
path: root/src/logging/logging.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2021-09-23 23:11:23 -0500
committersanine <sanine.not@pm.me>2021-09-23 23:11:23 -0500
commit1ca109e1770b56095bdf4c664f3b99b7ac93776d (patch)
tree15d6d7812a9c921c87eede2c451a96af6b13cdf2 /src/logging/logging.h
parent6f92e9da2f6b0223c34728da34be65d76d5db485 (diff)
add honey_log_level_str_()
Diffstat (limited to 'src/logging/logging.h')
-rw-r--r--src/logging/logging.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/logging/logging.h b/src/logging/logging.h
new file mode 100644
index 0000000..87436e5
--- /dev/null
+++ b/src/logging/logging.h
@@ -0,0 +1,10 @@
+#ifndef HONEY_LOGGING_H
+#define HONEY_LOGGING_H
+
+struct honey_log_info {
+ enum { DEBUG, INFO, WARN, ERROR, FATAL } log_level;
+};
+
+const char * honey_log_level_str_(struct honey_log_info *info);
+
+#endif