Am 24.09.2016 13:57, schrieb Rene Kluwen:
I don’t agree completely with your reasoning.
Either you want debug information or you don’t.
Enabling debug information yields a lot of information.
What about if you want to debug the mysql pool usage?
Still +0 from me in case it’s redundant info.
both points are viable. I know what Donald means here. He wants DEBUG
level, but not cluttered with "too much deep" info.
I would suggest wrapping the debug() line into a #ifdef DO_DEBUG which
CAN be defined in the header section of the source file itself. So
people CAN easily add it as extra DEBUG level information, but we
wouldn't see it in the "normal" DEBUG way.
--
Best Regards,
Stipe Tolj
-------------------------------------------------------------------
Düsseldorf, NRW, Germany
Kannel Foundation tolj.org system architecture
http://www.kannel.org/ http://www.tolj.org/
stolj at kannel.org st at tolj.org
-------------------------------------------------------------------