equal
deleted
inserted
replaced
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 */ |