Prepend ERROR: to all error logs

This commit is contained in:
Marc Di Luzio 2019-02-06 17:08:50 +00:00
parent ae016c4b5e
commit 6793d0d436

View File

@ -51,7 +51,7 @@ POSSIBILITY OF SUCH DAMAGE.
} \
} while (0)
#define PLOG_ERROR(...) fprintf(stderr, __VA_ARGS__)
#define PLOG_ERROR(...) fprintf(stderr, "ERROR: " __VA_ARGS__)
#define SYSLOG_ERROR(...) syslog(LOG_ERR, __VA_ARGS__)
#define LOG_ERROR(...) \
do { \