[asterisk-dev] [Code Review] Add ability for modules to dynamically register/unregister logger levels

Kevin Fleming kpfleming at digium.com
Mon May 4 07:45:45 CDT 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/244/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

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.


Diffs
-----

  /trunk/main/logger.c 191995 
  /trunk/include/asterisk/logger.h 191995 
  /trunk/tests/test_logger.c PRE-CREATION 

Diff: http://reviewboard.digium.com/r/244/diff


Testing
-------

Tested using included test_logger module.


Thanks,

Kevin




More information about the asterisk-dev mailing list