aboutsummaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'log.h')
-rw-r--r--log.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/log.h b/log.h
new file mode 100644
index 0000000..51ce333
--- /dev/null
+++ b/log.h
@@ -0,0 +1,7 @@
+typedef enum { INFO } LogLevel;
+
+typedef struct {
+ LogLevel level;
+} Logger;
+
+void info(Logger l, const char *name, const char *str, ...);