aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-08-25 10:27:06 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-08-25 10:27:06 +0200
commit8541f7c76a166447931bbe85102c7e125c466610 (patch)
treed51d3c877ba165d138119e9dbf08744696c6d8bc
parentcmd -> msg (diff)
downloadcimple-8541f7c76a166447931bbe85102c7e125c466610.tar.gz
cimple-8541f7c76a166447931bbe85102c7e125c466610.zip
log: add print_log macro
Diffstat (limited to '')
-rw-r--r--src/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h
index f050048..03e8856 100644
--- a/src/log.h
+++ b/src/log.h
@@ -17,4 +17,6 @@
fprintf(stderr, __VA_ARGS__); \
}
+#define print_log(...) printf(__VA_ARGS__)
+
#endif