Ok, I will move everything to the new ast_debug() macro.<br><br><div><span class="gmail_quote">On 6/12/07, <b class="gmail_sendername">Russell Bryant</b> <<a href="mailto:russell@digium.com">russell@digium.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dmitry Andrianov has created a new macro, ast_debug() which simplifies<br>debug logging. He has also converted main/pbx.c to use it. Now, the
<br>rest of the code base needs to get converted. If you are interested in<br>helping, volunteer to take a section of the code in this thread so you<br>don't duplicate efforts. :)<br><br>Currently, you will see code like:
<br><br>if (option_debug)<br> ast_log(LOG_DEBUG, ...);<br><br>if (option debug > 3)<br> ast_log(LOG_DEBUG, ...);<br><br>Now, that would look like<br><br>ast_debug(1, ...);<br><br>ast_debug(3, ...);<br><br>--<br>Russell Bryant
<br>Software Engineer<br>Digium, Inc.<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Eliel Sardaņons