[Catalyst] Problem with $c->log always on
nwiger at scea.com
Tue Sep 12 19:35:18 CEST 2006
It looks like $c->log is always on in a given Catalyst plugin. I have
simple, standard code like this:
$c->log->debug(Dumper(\%hash)) if $c->log->is_debug;
When I dump out the $c->log->is*, all of them return true (actually,
1/4/16 depending on the level, I assume this is a bitmask byproduct).
Any ideas? Anyone else seen this? I even double-checked my classes to
make sure they aren't overriding it...
More information about the Catalyst