10 static void __log(const char *fmt, va_list ap)
14 vfprintf(logf, fmt, ap);
19 void pb_log(const char *fmt, ...)
27 void pb_debug(const char *fmt, ...)
37 void __pb_log_init(FILE *fp, bool _debug)
45 FILE *pb_log_get_stream(void)
47 static FILE *null_stream;
50 null_stream = fopen("/dev/null", "a");