Added $req->cookie
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Log.pm
index 9792393..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++ ) {
@@ -169,9 +169,13 @@ Disable log levels
     $log->disable( 'warn', 'error' );
 
 =item is_debug
+
 =item is_error
+
 =item is_fatal
+
 =item is_info
+
 =item is_warn
 
 Is the log level active?