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

Kevin Fleming kpfleming at digium.com
Thu May 14 17:30:06 CDT 2009


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

(Updated 2009-05-14 17:30:06.135530)


Review request for Asterisk Developers.


Changes
-------

Addressed Tilghman's comments.


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 (updated)
-----

  /trunk/include/asterisk/logger.h 194522 
  /trunk/main/logger.c 194522 
  /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