summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-08-03 15:43:28 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-08-03 15:43:28 -0300
commitc68ef16c494a1c61bc702b7df0b21dc24d8eaf4f (patch)
tree0033cb36032106102a44a8b6986597a2a2d59d55 /log.h
parent3b7d4c04106b01bbbedad81e62011eba74ab3c6c (diff)
log: Add `printlog()`
This works exactly like `printlog()`, except it uses variadic arguments.
Diffstat (limited to 'log.h')
-rw-r--r--log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/log.h b/log.h
index 08477e9..dea112f 100644
--- a/log.h
+++ b/log.h
@@ -13,6 +13,7 @@ enum log_output {
};
extern void vprintlog(log_output output_type, int priority, const char *fmt, va_list args);
+extern void printlog(log_output output_type, int priority, const char *fmt, ...);
#endif