10 * If logging output to a file, stderr should go to both stderr and f_err
12 #define log_err(args...) do { \
13 fprintf(f_err, ##args); \
14 if (f_err != stderr) \
15 fprintf(stderr, ##args); \
18 #define log_info(args...) fprintf(f_out, ##args)
19 #define log_valist(str, args) vfprintf(f_out, (str), (args))
21 FILE *get_f_out(void);
22 FILE *get_f_err(void);