summaryrefslogtreecommitdiff
path: root/include/rune_logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rune_logging.h')
-rw-r--r--include/rune_logging.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/rune_logging.h b/include/rune_logging.h
new file mode 100644
index 0000000..a0b9e29
--- /dev/null
+++ b/include/rune_logging.h
@@ -0,0 +1,16 @@
+#ifndef RUNE_LOGGING_H
+#define RUNE_LOGGING_H
+
+#include <rune_types.h>
+
+enum log_level {
+ LOG_FATAL,
+ LOG_ERROR,
+ LOG_WARN,
+ LOG_INFO,
+ LOG_DEBUG
+};
+
+void log_output(int level, const char *fmt, ...);
+
+#endif