diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-10-27 12:35:07 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-10-27 12:39:01 +0300 |
commit | 2922690b716540b7e3971ffbdf506148503c7788 (patch) | |
tree | ccb6a4dbbffadf5f91ee47ca5ef5bd8347c02a1c /src/ckerrlog.h | |
parent | 1b09a70af6096d2f85cadff82f227e4e6850bfda (diff) | |
download | ck-2922690b716540b7e3971ffbdf506148503c7788.tar.gz ck-2922690b716540b7e3971ffbdf506148503c7788.tar.bz2 ck-2922690b716540b7e3971ffbdf506148503c7788.zip |
change own&grp when it should. version 0.8.1!
Diffstat (limited to 'src/ckerrlog.h')
-rw-r--r-- | src/ckerrlog.h | 5 |
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 */ |