summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-20 13:55:05 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-20 13:55:05 +0200
commit6fd8f501615e883e1cf6e2dbaa31bc7261b7a5d5 (patch)
tree22d12b2727a20c08e5991af9994e2391b5dacbc8
parentprepare release (diff)
downloaddancer-logger-psgi-6fd8f501615e883e1cf6e2dbaa31bc7261b7a5d5.tar.gz
update POD
-rw-r--r--lib/Dancer/Logger/PSGI.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Dancer/Logger/PSGI.pm b/lib/Dancer/Logger/PSGI.pm
index 2bcb452..3f8c216 100644
--- a/lib/Dancer/Logger/PSGI.pm
+++ b/lib/Dancer/Logger/PSGI.pm
@@ -39,10 +39,15 @@ In your application
warning "this is a warning"
-In your app.psgi
+Then, in your app.psgi
$app = builder { enable "ConsoleLogger"; $app; }
+or in your environment file:
+
+ - plack_middlewares:
+ - ConsoleLogger
+
With L<Plack::Middleware::ConsoleLogger>, all your log will be send to the javascript console of your browser.
=head1 DESCRIPTION