librsync
2.3.4
|
logging functions. More...
Go to the source code of this file.
Macros | |
#define | FMT_LONG "%"PRIdMAX |
#define | FMT_WEAKSUM "%08"PRIx32 |
#define | FMT_SIZE "%Iu" |
#define | rs_trace_enabled() |
Call this before putting too much effort into generating trace messages. | |
#define | rs_trace(...) |
#define | rs_log(l, ...) |
#define | rs_warn(...) |
#define | rs_error(...) |
#define | rs_fatal(...) |
Enumerations | |
enum | { RS_LOG_PRIMASK = 7 , RS_LOG_NONAME = 8 } |
Functions | |
void | rs_log0 (int level, char const *fn, char const *fmt,...) __attribute__((format(printf |
Variables | |
int | rs_trace_level |
logging functions.
trace may be turned off.
error is always on, but you can return and continue in some way.
fatal terminates the whole process.
Definition in file trace.h.
#define rs_trace_enabled | ( | ) |
#define rs_log | ( | l, | |
... ) |
#define rs_warn | ( | ... | ) |
#define rs_error | ( | ... | ) |
#define rs_fatal | ( | ... | ) |
anonymous enum |