MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / xl_print_log

Function xl_print_log

xlog.c:260–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260int xl_print_log(struct sip_msg* msg, pv_elem_p list, int *len)
261{
262 if (pv_printf(msg, list, log_buf, len) < 0)
263 return -1;
264
265 if (trace_xlog(msg, log_buf, *len) < 0) {
266 LM_ERR("failed to trace xlog message!\n");
267 return -2;
268 }
269
270 return 1;
271}
272
273
274int xlog_2(struct sip_msg* msg, char* lev, char* frm)

Callers 3

xlog_2Function · 0.85
xlog_1Function · 0.85
xdbgFunction · 0.85

Calls 2

pv_printfFunction · 0.85
trace_xlogFunction · 0.85

Tested by

no test coverage detected