DavidFerrington has asked for the wisdom of the Perl Monks concerning the following question:
if I call $logger->trace('...'); I get the Can't location object method "trace" via package ... error.
If I call $logger->log($TRACE,'...'); I get No priority given and it looks like $TRACE is not defined (but the other levels are).
Is this a bug in the documentation and TRACE is not actually valid?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Log::Log4Perl trace method missing
by Anonymous Monk on Jan 21, 2010 at 17:07 UTC | |
by DavidFerrington (Acolyte) on Jan 21, 2010 at 17:30 UTC | |
by Anonymous Monk on Jan 21, 2010 at 17:36 UTC | |
by DavidFerrington (Acolyte) on Jan 21, 2010 at 17:53 UTC |