aboutsummaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 16:53:37 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 16:53:37 +0200
commit85b0db24804e6a8a66f557ac8917596db5fc5d9f (patch)
tree22cdfbf325fe7ecadc744a668f28c46b03e0f008 /log.h
parent2d225abf3b482fa2bf8cf9a56b8caefcc5724447 (diff)
refactor: Better types
Diffstat (limited to 'log.h')
-rw-r--r--log.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/log.h b/log.h
index 51ce333..a2744f1 100644
--- a/log.h
+++ b/log.h
@@ -1,7 +1,10 @@
+
+#include "types.h"
+
typedef enum { INFO } LogLevel;
typedef struct {
LogLevel level;
} Logger;
-void info(Logger l, const char *name, const char *str, ...);
+void info(Logger l, const byte *name, const byte *str, ...);