Defines | |
#define | CSYNC_LOG(priority,...) csync_log(ctx, priority, __FUNCTION__, __VA_ARGS__) |
#define | PRINTF_ATTRIBUTE(a, b) |
Enumerations | |
enum | csync_log_priority_e { CSYNC_LOG_PRIORITY_NOLOG = 0, CSYNC_LOG_PRIORITY_FATAL, CSYNC_LOG_PRIORITY_ALERT, CSYNC_LOG_PRIORITY_CRIT, CSYNC_LOG_PRIORITY_ERROR, CSYNC_LOG_PRIORITY_WARN, CSYNC_LOG_PRIORITY_NOTICE, CSYNC_LOG_PRIORITY_INFO, CSYNC_LOG_PRIORITY_DEBUG, CSYNC_LOG_PRIORITY_TRACE, CSYNC_LOG_PRIORITY_NOTSET, CSYNC_LOG_PRIORITY_UNKNOWN } |
Functions | |
void | csync_log (CSYNC *ctx, int verbosity, const char *function, const char *format,...) PRINTF_ATTRIBUTE(4 |
#define CSYNC_LOG | ( | priority, | |||
... | ) | csync_log(ctx, priority, __FUNCTION__, __VA_ARGS__) |
Definition at line 63 of file csync_log.h.
#define PRINTF_ATTRIBUTE | ( | a, | |||
b | ) |
Definition at line 44 of file csync_log.h.
enum csync_log_priority_e |
Definition at line 48 of file csync_log.h.
void csync_log | ( | CSYNC * | ctx, | |
int | verbosity, | |||
const char * | function, | |||
const char * | format, | |||
... | ||||
) |