aboutsummaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h
new file mode 100644
index 0000000..a426289
--- /dev/null
+++ b/src/log.h
@@ -0,0 +1,15 @@
+#ifndef IMV_LOG_H
+#define IMV_LOG_H
+
+enum imv_log_level {
+ IMV_DEBUG,
+ IMV_INFO,
+ IMV_WARNING,
+ IMV_ERROR
+};
+
+void imv_log_set_level(enum imv_log_level level);
+
+void imv_log(enum imv_log_level level, const char *fmt, ...);
+
+#endif