Permalink
Browse files

prepare for release 0.03

  • Loading branch information...
mike
mike committed Feb 20, 2013
1 parent 7b88085 commit fdc4077cd1d7ef3b9faffa16cc117fd21b608240
Showing with 8 additions and 8 deletions.
  1. +1 −0 .gitignore
  2. +7 −8 lib/Plack/Middleware/Debug/Log4perl.pm
View
@@ -1,3 +1,4 @@
+*.tar.gz
blib/
.build/
_build/
@@ -30,15 +30,15 @@ sub run
}
else {
- my $logger = Log::Log4perl->get_logger("");
+ my $logger = Log::Log4perl->get_logger("");
- # Define a layout
- my $layout = Log::Log4perl::Layout::PatternLayout->new("%r >> %p >> %m >> %c >> at %F line %L%n");
+ # Define a layout
+ my $layout = Log::Log4perl::Layout::PatternLayout->new("%r >> %p >> %m >> %c >> at %F line %L%n");
- # Define an 'in memory' appender
- my $appender = Log::Log4perl::Appender->new(
- "Log::Log4perl::Appender::TestBuffer",
- name => "psgi_debug_panel");
+ # Define an 'in memory' appender
+ my $appender = Log::Log4perl::Appender->new(
+ "Log::Log4perl::Appender::TestBuffer",
+ name => "psgi_debug_panel");
$appender->layout($layout);
@@ -64,7 +64,6 @@ sub run
}
else {
- #return $panel->disable;
$panel->content( 'Log4perl appender not enabled' );
}
};

0 comments on commit fdc4077

Please sign in to comment.