Changeset 5983 for pjproject/trunk/pjnath/src/pjnath/errno.c
- Timestamp:
- May 9, 2019 7:47:39 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/errno.c
r5535 r5983 194 194 pj_status_t status) 195 195 { 196 char errmsg[PJ_ERR_MSG_SIZE];197 198 pj_strerror(status, errmsg, sizeof(errmsg));199 200 196 #if PJNATH_ERROR_LEVEL==1 201 PJ_ LOG(1,(sender, "%s: %s", title, errmsg));197 PJ_PERROR(1,(sender, status, title)); 202 198 #elif PJNATH_ERROR_LEVEL==2 203 PJ_ LOG(2,(sender, "%s: %s", title, errmsg));199 PJ_PERROR(2,(sender, status, title)); 204 200 #elif PJNATH_ERROR_LEVEL==3 205 PJ_ LOG(3,(sender, "%s: %s", title, errmsg));201 PJ_PERROR(3,(sender, status, title)); 206 202 #elif PJNATH_ERROR_LEVEL==4 207 PJ_ LOG(4,(sender, "%s: %s", title, errmsg));203 PJ_PERROR(4,(sender, status, title)); 208 204 #elif PJNATH_ERROR_LEVEL==5 209 PJ_ LOG(5,(sender, "%s: %s", title, errmsg));205 PJ_PERROR(5,(sender, status, title)); 210 206 #else 211 207 # error Invalid PJNATH_ERROR_LEVEL value
Note: See TracChangeset
for help on using the changeset viewer.