src/log.h
branchnew-transport
changeset 156 6534a4ac957b
parent 139 55b9dcc2b73a
child 162 fa8dc83739e2
equal deleted inserted replaced
155:c59d3eaff0fb 156:6534a4ac957b
    74     __attribute__ ((format (printf, 4, 5)));
    74     __attribute__ ((format (printf, 4, 5)));
    75 
    75 
    76 /**
    76 /**
    77  * Log a message with the given level, appending the formatted error message
    77  * Log a message with the given level, appending the formatted error message
    78  */
    78  */
    79 void _log_err (enum log_level level, struct error_info *err, const char *func, const char *format, ...)
    79 void _log_err (enum log_level level, const error_t *err, const char *func, const char *format, ...)
    80     __attribute__ ((format (printf, 4, 5)));
    80     __attribute__ ((format (printf, 4, 5)));
    81 
    81 
    82 /**
    82 /**
    83  * Log using errno.
    83  * Log using errno.
    84  */
    84  */