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> &lt;<a href="mailto:russell@digium.com">russell@digium.com</a>&gt; 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.&nbsp;&nbsp;He has also converted main/pbx.c to use it.&nbsp;&nbsp;Now, the
<br>rest of the code base needs to get converted.&nbsp;&nbsp;If you are interested in<br>helping, volunteer to take a section of the code in this thread so you<br>don&#39;t duplicate efforts.&nbsp;&nbsp;:)<br><br>Currently, you will see code like:
<br><br>if (option_debug)<br>&nbsp;&nbsp;&nbsp;&nbsp;ast_log(LOG_DEBUG, ...);<br><br>if (option debug &gt; 3)<br>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp; <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