summaryrefslogtreecommitdiff
path: root/macros.h
blob: 41dc81a514f091bf19e78d5a47c0f3f6d07fe888 (plain)
1
2
3
4
5
6
#ifndef MACROS_H
#define MACROS_H

#define log(priority, ...) syslog(priority, __VA_ARGS__)
#define log_reason(priority, msg, ...) log(priority, msg " Reason %s", __VA_ARGS__)
#endif