[sr-dev] git:master:d0261b61: xlog: exported xlogging functions to kemi

Elena-Ramona Modroiu ramona at asipto.com
Fri Apr 29 12:09:53 CEST 2016


Module: kamailio
Branch: master
Commit: d0261b61d7cb23f437e69891e42a9c9fd3fa622b
URL: https://github.com/kamailio/kamailio/commit/d0261b61d7cb23f437e69891e42a9c9fd3fa622b

Author: Elena-Ramona Modroiu <ramona at asipto.com>
Committer: Elena-Ramona Modroiu <ramona at asipto.com>
Date: 2016-04-29T12:04:10+02:00

xlog: exported xlogging functions to kemi

- xdbg(txt), xinfo(txt), xnotice(txt), xwarn(txt), xerr(txt),
  xalert(txt), xcrit(txt), xlog(lev, txt)
- the txt can include kamailio variables even in the embedded lanaguage
  script, e.g.,:
  KSR.xlog.xinfo("received $rm from $si\n");
- if no kamailio variables are in the text, it is recommended to use the
  KSR core functions, e.g.,: KSR.info("received INVITE from 127.0.0.1\n");
- all the parameters are parsed and evaluated for each execution of the
  function, there is no fixup at startup that can be triggered by the
  non-native embedded interpreters

---

Modified: modules/xlog/xlog.c

---

Diff:  https://github.com/kamailio/kamailio/commit/d0261b61d7cb23f437e69891e42a9c9fd3fa622b.diff
Patch: https://github.com/kamailio/kamailio/commit/d0261b61d7cb23f437e69891e42a9c9fd3fa622b.patch




More information about the sr-dev mailing list