[Kamailio-Users] xlog enhancements

Elena-Ramona Modroiu ramona at asipto.com
Mon Feb 1 11:50:42 CET 2010


Hi,

I added two new functions to xlog (modules_k):

- xlogl(level, message)
- xdbgl(message)

They are similar to the existing functions, in addition they print the 
config line at the beginning of the message. The printed value is:

"cfglineno:message"

In this way you can spot easily in the logs where the function was used 
to print a particular message.

http://sip-router.org/docbook/sip-router/branch/master/modules_k/xlog/xlog.html

Regards,
Ramona



More information about the Users mailing list