projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
merged conflicts
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Log.pm
diff --git
a/lib/Catalyst/Log.pm
b/lib/Catalyst/Log.pm
old mode 100755
(executable)
new mode 100644
(file)
index
72ae936
..
e70197f
--- a/
lib/Catalyst/Log.pm
+++ b/
lib/Catalyst/Log.pm
@@
-66,7
+66,8
@@
around new => sub {
my $class = shift;
my $self = $class->$orig;
- $self->levels( scalar(@_) ? @_ : (qw/info warn error fatal/) );
+ $self->levels( scalar(@_) ? @_ : keys %LEVELS );
+
return $self;
};