Added $req->cookie
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Log.pm
index d9d03b8..26c2fef 100644 (file)
@@ -8,7 +8,7 @@ our %LEVELS = ();
 
 __PACKAGE__->mk_accessors('level');
 
-{
+BEGIN {
     my @levels = qw[ debug info warn error fatal ];
 
     for ( my $i = 0 ; $i < @levels ; $i++ ) {