summaryrefslogtreecommitdiff
path: root/src/logging/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging/logging.c')
-rw-r--r--src/logging/logging.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/logging/logging.c b/src/logging/logging.c
index 4f717cb..cb720a4 100644
--- a/src/logging/logging.c
+++ b/src/logging/logging.c
@@ -3,6 +3,12 @@
int _honey_log_level = HONEY_WARN;
+void honey_set_log_level(int level)
+{
+ _honey_log_level = level;
+}
+
+
void honey_log(int level, const char *fmt, ...) {
//if (level > _honey_log_level) return;