Subject: | missing log level in Log::Log4perl::Catalyst |
Log4Perl has six built-in levels but Log::Log4perl::Catalyst only loads
5. Easy to add the missing one: "trace."
Here's my local patch test. Thank you!
use strictures;
use Test::More;
use_ok("Log::Log4perl::Catalyst");
can_ok "Log::Log4perl::Catalyst", qw[ trace debug info warn error fatal ]
or diag <<'';
You will have to patch/add Log::Log4perl::Catalyst::init() yourself.
- my @levels = qw[ debug info warn error fatal ];
+ my @levels = qw[ trace debug info warn error fatal ];
done_testing(2);