diff options
| author | Ian Moffett <ian@mirocom.org> | 2026-05-23 02:20:48 -0400 |
|---|---|---|
| committer | Ian Moffett <ian@mirocom.org> | 2026-05-23 02:20:48 -0400 |
| commit | 659dd389326f73e6bcbce5311088c182d7cb580e (patch) | |
| tree | beac5f4287ad20b7ee7707551d84809b9ca7bca9 | |
| parent | 9dddb49288988d06c3075cf3fc3dfd0fd20cd1aa (diff) | |
cescal: Add fmt to log macros
Signed-off-by: Ian Moffett <ian@mirocom.org>
| -rw-r--r-- | include/cescal/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cescal/log.h b/include/cescal/log.h index efa8dfe..91524c5 100644 --- a/include/cescal/log.h +++ b/include/cescal/log.h @@ -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 */ |
