Have you profiled or benchmarked your code to see if those "if" statements are really causing any performance issues? Usually you'll find those bottlenecks elsewhere, such as in file I/O or database calls.
Here's an article on Log4Perl you might find useful: Retire your debugger....
In reply to Re: conditional debug call perf
by SheridanCat
in thread conditional debug call perf
by greatdane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |