summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'log.h')
-rw-r--r--log.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/log.h b/log.h
new file mode 100644
index 0000000..b9f56b6
--- /dev/null
+++ b/log.h
@@ -0,0 +1,12 @@
+#ifndef __LOG_H
+#define __LOG_H
+
+enum loglevel {
+ LOG_NONE,
+ LOG_INFO,
+ LOG_DEBUG
+};
+
+void logmsg(enum loglevel level, const char *format,...);
+
+#endif