in reply to Re^2: log4perl and efficiency
in thread log4perl and efficiency
That's one approach. I was suggesting:
which may be easier to bulk modify in source while maintaining existing log levels. (or not. YMMV.)$self->{logger}->trace( sub { "total NbObsThis $i=$nbObservedThisNGram +->[$i]; nbObsAll $i=$nbObservedAllNGrams->[$i]; total=$totalObservedA +ll; nbExpected $i=$nbExpectedThis[$i]; chisq = $chiSquare[$i]" } );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: log4perl and efficiency
by erwan (Sexton) on Sep 12, 2011 at 17:54 UTC |
In Section
Seekers of Perl Wisdom