in reply to Perl::Critic policy for common Log::Log4perl mistake
Please read that link to Log4perl again. The Log4perl author is *not* suggesting that every logging call should be wrapped, but rather that *expensive* calls should be. Since only the application developer can be expected to be able to tell which calls would be expensive, IMHO using such a Perl::Critic policy (if it exists) would be both code bloat and slow down the application, exactly the opposite to the effect the OP seems to be trying to achieve.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl::Critic policy for common Log::Log4perl mistake
by andreas1234567 (Vicar) on Nov 08, 2011 at 13:53 UTC | |
by jethro (Monsignor) on Nov 08, 2011 at 18:05 UTC | |
by andreas1234567 (Vicar) on Nov 09, 2011 at 05:40 UTC |
In Section
Seekers of Perl Wisdom