summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h
new file mode 100644
index 0000000..ecd3428
--- /dev/null
+++ b/src/log.h
@@ -0,0 +1,13 @@
+#ifndef __LOG_H
+#define __LOG_H
+
+enum log_level {
+ LOG_INFO = 0,
+ LOG_WARNING,
+ LOG_ERROR,
+ LOG_FATAL
+};
+
+void log_msg(enum log_level level, const char *namespace, const char *format, ...);
+
+#endif