37#define PRINTF_ATTRIBUTE(a,b) __attribute__ ((__format__ (__printf__, a, b)))
39#define PRINTF_ATTRIBUTE(a,b)
57#define CSYNC_LOG(priority, ...) \
58 csync_log(priority, __func__, __VA_ARGS__)
void csync_log(int verbosity, const char *function, const char *format,...) PRINTF_ATTRIBUTE(3
#define PRINTF_ATTRIBUTE(a, b)
@ CSYNC_LOG_PRIORITY_NOTSET
@ CSYNC_LOG_PRIORITY_NOTICE
@ CSYNC_LOG_PRIORITY_UNKNOWN
@ CSYNC_LOG_PRIORITY_WARN
@ CSYNC_LOG_PRIORITY_ERROR
@ CSYNC_LOG_PRIORITY_NOLOG
@ CSYNC_LOG_PRIORITY_DEBUG
@ CSYNC_LOG_PRIORITY_FATAL
@ CSYNC_LOG_PRIORITY_ALERT
@ CSYNC_LOG_PRIORITY_CRIT
@ CSYNC_LOG_PRIORITY_INFO
@ CSYNC_LOG_PRIORITY_TRACE