summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2019-09-15 09:26:41 +0000
committernirav <nirav@teisuu.com>2019-09-15 09:26:41 +0000
commite985bfa6b8facac58da9a20c3c840498e2517bb5 (patch)
treee38c1b5d9eed792d770ccb3deff9f4dd29be41be /log.h
downloadgopherd-e985bfa6b8facac58da9a20c3c840498e2517bb5.tar.gz
gopherd-e985bfa6b8facac58da9a20c3c840498e2517bb5.zip
Initial commit
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