diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-09-25 15:54:30 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-08-10 14:13:44 -0300 |
commit | 522ee790ae8a37064bbf830e25bfea8628cae1df (patch) | |
tree | 7a856996307d56d67695b079cac4a00283f89ffc /macros.h | |
parent | 83c37a9e9de61247f6e5deb618e090cf6b9df952 (diff) |
Add some testing code.
Diffstat (limited to 'macros.h')
-rw-r--r-- | macros.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -9,7 +9,8 @@ #ifndef LOG_H #include "log.h" -#define log(priority, ...) printlog(LOG_OUT_SYSLOG, priority, __VA_ARGS__) +/*#define log(priority, ...) syslog(priority, __VA_ARGS__)*/ +#define log(priority, ...) printlog(LOG_OUT_STDOUT, priority, __VA_ARGS__) #define log_reason(priority, msg, ...) log(priority, msg " Reason %s", __VA_ARGS__) #endif |