add identifier for log filter & regen distrib

This commit is contained in:
lxsang 2020-02-12 12:27:12 +01:00
parent 775b025087
commit 0f44d62849
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -57,12 +57,12 @@ THE SOFTWARE.
#define false 0
#ifdef DEBUG
#define LOG(a,...) syslog (LOG_NOTICE,"[%s: %d]: " a "\n", __FILE__, \
#define LOG(a,...) syslog (LOG_NOTICE,"ANTD_LOG@[%s: %d]: " a "\n", __FILE__, \
__LINE__, ##__VA_ARGS__)
#else
#define LOG(a,...) do{}while(0)
#endif
#define ERROR(a,...) syslog (LOG_ERR, "[%s: %d]: " a "\n", __FILE__, \
#define ERROR(a,...) syslog (LOG_ERR, "ANTD_ERROR@[%s: %d]: " a "\n", __FILE__, \
__LINE__, ##__VA_ARGS__)
// add this to the utils
#define UNUSED(x) (void)(x)