Changes between Version 1 and Version 3 of Ticket #981
- Timestamp:
- Nov 9, 2009 4:05:54 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #981
- Property Status changed from new to closed
- Property Resolution changed from to fixed
- Property Summary changed from New pj_perror() utility API to print error message to the log to New pj_perror() and PJ_PERROR() APIs to print error message to the log
-
Ticket #981 – Description
v1 v3 1 1 New API in <pj/errno.h>: 2 2 3 PJ_PERROR usage: 4 3 5 {{{ 4 PJ_DECL(void) pj_perror(int log_level, const char *sender, 5 pj_status_t status, const char *title, 6 int options); 6 PJ_PERROR(2, (__FILE__, PJ_EBUSY, "Error making %s", "coffee")); 7 7 }}} 8 9 pj_perror() API: 10 {{{ 11 PJ_DECL(void) pj_perror(int log_level, const char *sender, 12 pj_status_t status, 13 const char *title_fmt, ...); 14 }}}