From cf534d762754860ed5b714974f99acd282d48b3b Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Wed, 8 Apr 2026 13:14:27 +0200 Subject: Restructure into src/{std,json}/ Co-Authored-By: Claude Sonnet 4.6 --- src/std/log.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/std/log.h (limited to 'src/std/log.h') diff --git a/src/std/log.h b/src/std/log.h new file mode 100644 index 0000000..1458f03 --- /dev/null +++ b/src/std/log.h @@ -0,0 +1,10 @@ + +#include "types.h" + +typedef enum { INFO } LogLevel; + +typedef struct { + LogLevel level; +} Logger; + +void info(Logger l, const byte *name, const byte *str, ...); -- cgit v1.3