[reSIProcate] external logger
Hello,
The application that I am working on that uses resip has its own logging
functionality. The logger in our app ("myapp") has some enhanced features
similar to those found in log4j (logging configurable using a config file,
different outputs including sockets, syslog, rolling file appenders...).
What I would like is for myapp to be in total control of the logging. I
have modified resip by adding a new Log::initialize() function that takes a
pointer to a function as the only argument and modified Logger.hxx to
forward all log requests to this function if the external function pointer
"type" logger is enabled. Is this, or a similar solution, something that
would be considered for addition into resip? Does anyone have any other
suggestions for adding this functionality?
Thanks,
Justin