Review Board 1.7.16


Add ability for modules to dynamically register/unregister logger levels

Review Request #244 - Created May 4, 2009 and submitted

Kevin Fleming
trunk
Reviewers
asterisk-dev
Asterisk
This patch adds the ability for modules to dynamically create logger levels for their own use; these are named levels just like the built-in levels, and can be directed to any destination that the logger can send any level to, by including their names in logger.conf.
Tested using included test_logger module.

Changes between revision 3 and 4

1 2 3 4
1 2 3 4

  1. /trunk/include/asterisk/logger.h: Loading...
  2. /trunk/main/logger.c: Loading...
  3. /trunk/tests/test_logger.c: Loading...
/trunk/main/logger.c
Diff Revision 3 Diff Revision 4
 
/trunk/tests/test_logger.c
Diff Revision 3 Diff Revision 4
 
  1. /trunk/include/asterisk/logger.h: Loading...
  2. /trunk/main/logger.c: Loading...
  3. /trunk/tests/test_logger.c: Loading...

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.