summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorsteven-na <noreply.github@stvnc.dev>2026-08-21 23:16:44 -0700
committersteven-na <noreply.github@stvnc.dev>2026-08-21 23:16:44 -0700
commitfee3f00c6d8a855b4372a0367e0b3e9dcea76699 (patch)
treeab423c6b1f43e3eb53c88a6a55a95d932fbbd19b /src/log.h
parentb844718a1687424b2748608cbb52fb4012417fe5 (diff)
Added printf attr to log funcs
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h
index 287ee28..1c63275 100644
--- a/src/log.h
+++ b/src/log.h
@@ -35,4 +35,5 @@ void log_set_fp(FILE *log_file);
const char *log_get_level();
+__attribute__((format(printf, 4, 5)))
void log_log(LogLevelE lvl, const char *src_file, u64 src_line, const char *fmt, ...);