good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: log4perl and efficiencyby Solo (Deacon) |
on Sep 12, 2011 at 17:17 UTC ( [id://925517]=note: print w/replies, xml ) | Need Help?? |
The Log::Log4perl POD has a section with ways to improve log4perl performance. It looks to me like you should wrap that log string into a function so it doesn't need to interpolate when logging is off.
In Section
Seekers of Perl Wisdom
|
|