]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Add `session::consoleLog2()`
authorTravis Cross <tc@traviscross.com>
Wed, 16 Jul 2014 02:28:30 +0000 (02:28 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 16 Jul 2014 03:52:08 +0000 (03:52 +0000)
commit74262ee9649fd3e8f20b5e35412e1c245db8c8b2
treeda6909933400f0e71dad0cb3dcb5fa0389fd8fc9
parent502cd3f659730d47c6098a480c0e9353caae63a9
Add `session::consoleLog2()`

This allows emitting log messages that include the file name and line
number of the call.  Because we have the session object here, the log
messages can be correctly associated with the session from which they
were emitted.

As when the kernel developers need to 'fix' a system call, we'll just
add a number to the name of the existing function.
src/include/switch_cpp.h
src/switch_cpp.cpp