Ticket #981 (closed enhancement: fixed)
New pj_perror() and PJ_PERROR() APIs to print error message to the log
| Reported by: | bennylp | Owned by: | bennylp |
|---|---|---|---|
| Priority: | normal | Milestone: | release-1.5 |
| Component: | pjlib | Version: | trunk |
| Keywords: | Cc: |
Description (last modified by bennylp) (diff)
New API in <pj/errno.h>:
PJ_PERROR usage:
PJ_PERROR(2, (__FILE__, PJ_EBUSY, "Error making %s", "coffee"));
pj_perror() API:
PJ_DECL(void) pj_perror(int log_level, const char *sender,
pj_status_t status,
const char *title_fmt, ...);
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/repos/chrome/site/pj.jpg)