39 void fsw_flog(FILE * f,
const char * msg);
45 void fsw_logf(
const char * format, ...);
51 void fsw_flogf(FILE * f,
const char * format, ...);
68 # define FSW_LOG(msg) fsw_logf("%s: ", __func__); fsw_log(msg)
74 # define FSW_ELOG(msg) fsw_flogf(stderr, "%s: ", __func__); fsw_flog(stderr, msg)
80 # define FSW_LOGF(msg, ...) fsw_logf("%s: ", __func__); fsw_logf(msg, __VA_ARGS__)
86 # define FSW_ELOGF(msg, ...) fsw_flogf(stderr, "%s: ", __func__); fsw_flogf(stderr, msg, __VA_ARGS__)
92 # define FSW_FLOGF(f, msg, ...) fsw_flogf(f, "%s: ", __func__); fsw_flogf(f, msg, __VA_ARGS__)
void fsw_flog(FILE *f, const char *msg)
Definition: libfswatch_log.cpp:29
void fsw_logf(const char *format,...)
Definition: libfswatch_log.cpp:34
void fsw_flogf(FILE *f, const char *format,...)
Definition: libfswatch_log.cpp:46
void fsw_logf_perror(const char *format,...)
Definition: libfswatch_log.cpp:63
void fsw_log(const char *msg)
Definition: libfswatch_log.cpp:24
void fsw_log_perror(const char *msg)
Definition: libfswatch_log.cpp:58