Adds Plack::Middleware::Debug::WgLogger

This commit is contained in:
Patrick Donelan 2010-04-13 21:00:08 -04:00
parent b1ab8287ca
commit 2d7c8e637f
2 changed files with 32 additions and 1 deletions

View file

@ -63,7 +63,7 @@ sub call {
if ($debug) {
$app = Plack::Middleware::StackTrace->wrap($app);
$app = Plack::Middleware::Debug->wrap( $app,
panels => [qw(Environment Response Timer Memory Session DBITrace PerlConfig Response)] );
panels => [qw(Environment Response Timer Memory Session DBITrace PerlConfig Response WgLogger)] );
}
# Turn exceptions into HTTP errors