Permalink
Browse files

Put the info log level between debug and warning

  • Loading branch information...
1 parent 0404bc3 commit 5ffe0ab8a80df5e6ef18f09557d8f79d10395ea4 Ovid committed with Alexis Sukrieh Mar 28, 2012
Showing with 5 additions and 5 deletions.
  1. +4 −4 lib/Dancer/Logger/Abstract.pm
  2. +1 −1 t/11_logger/01_abstract.t
@@ -23,10 +23,10 @@ my $levels = {
# levels > 0 are for end-users only
debug => 1,
- warn => 2,
- warning => 2,
- error => 3,
- info => 4,
+ info => 2,
+ warn => 3,
+ warning => 3,
+ error => 4,
};
my $log_formats = {
@@ -5,7 +5,7 @@ use warnings;
use Dancer;
use Dancer::Logger::Abstract;
-my @log_levels = qw(core debug warning error info);
+my @log_levels = qw(core debug info warning error);
my $l = Dancer::Logger::Abstract->new;
isa_ok $l, 'Dancer::Logger::Abstract';
can_ok $l, (qw(_log _should), @log_levels);

0 comments on commit 5ffe0ab

Please sign in to comment.