cescal: Add fmt to log macros

Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
2026-05-23 02:20:48 -04:00
parent 9dddb49288
commit 659dd38932
+2 -2
View File
@@ -9,8 +9,8 @@
#include <stdio.h>
#define cc_trace(fmt, ...) \
printf("[\033[34;40mtrace\033[0m]: ", ##__VA_ARGS__)
printf("[\033[34;40mtrace\033[0m]: " fmt, ##__VA_ARGS__)
#define cc_error(fmt, ...) \
printf("[\033[31;40merror\033[0m]: ", ##__VA_ARGS__)
printf("[\033[31;40merror\033[0m]: " fmt, ##__VA_ARGS__)
#endif /* !CESCAL_LOG_H */