aboutsummaryrefslogtreecommitdiffstats
path: root/log.h
diff options
context:
space:
mode:
authorverdant <im@verdant.ee>2026-07-27 09:26:27 +0800
committerverdant <im@verdant.ee>2026-07-27 09:26:27 +0800
commitcb77cf4cd2a501993e50a258c201a639962abc0a (patch)
tree7f4adc58c7fe92617466e8411ad4dd2a1d3b3c47 /log.h
parent4d899ffbc32b79dc41148e71fd5035993ff6c323 (diff)
downloadsf-cb77cf4cd2a501993e50a258c201a639962abc0a.tar.gz
sf-cb77cf4cd2a501993e50a258c201a639962abc0a.zip
Reformat log.c log.h
Diffstat (limited to 'log.h')
-rw-r--r--log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/log.h b/log.h
index f53c18f..9b5dae1 100644
--- a/log.h
+++ b/log.h
@@ -13,4 +13,6 @@ void log_init(void);
void log_write(log_level level, const char *fmt, ...);
+#define LOG_WRITE_INFO(fmt, ...) log_write(LOG_INFO, fmt, ##__VA_ARGS__)
+
#endif /* SS_LOG_H */