37 rc =
log_vlogf(module, level, file, line, fmt, vp);
73 fprintf(stream,
"[%s]%*s %8s: ", module, (
int) (16 - strlen(module)),
"", type);
74 int len = vfprintf(stream, fmt, vp);
75 fprintf(stream,
"%*s %s:%d\n", 128-len,
"", file, line);
enum hpd_log_level hpd_log_level_t
hpd_error_t log_logf(const char *module, hpd_log_level_t level, const char *file, int line, const char *fmt,...)
enum hpd_error hpd_error_t
#define LOG_RETURN(E, FMT,...)
hpd_error_t log_vlogf(const char *module, hpd_log_level_t level, const char *file, int line, const char *fmt, va_list vp)