aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckerrlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ckerrlog.h')
-rw-r--r--src/ckerrlog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ckerrlog.h b/src/ckerrlog.h
index 9d71458..bf0c0a5 100644
--- a/src/ckerrlog.h
+++ b/src/ckerrlog.h
@@ -90,5 +90,10 @@ CK_STREAMS
cklog_with_delim(" ", "[%s]", COMPONENT); \
cklog(__VA_ARGS__);
+/* Print help message & log it */
+#define hLOG(...) \
+ HELP(__VA_ARGS__); \
+ LOG(__VA_ARGS__);
+
#define LOG_V(...)
#endif /* CKERRLOG_H */