Skip to content
Browse files

bring over POD changes from 0.03

  • Loading branch information...
1 parent a0d0453 commit d5e13787a99e9c1d45bd0b0f6ed4efd036ed7532 Richard Simões committed Dec 24, 2011
Showing with 19 additions and 11 deletions.
  1. +3 −2 Changes
  2. +16 −9 lib/Dancer/Logger/PSGI.pm
View
5 Changes
@@ -1,11 +1,12 @@
Revision history for Perl extension Dancer::Logger::PSGI
{{$NEXT}}
-
-0.020_001 2011-12-22 22:42:39 CST6CDT
- avoid using Dancer::Request class construction syntax deprecated in
Dancer version 1.3059 [Alberto Simões, Fayland Lam]
+0.03 2011-02-20 10:27:18 CEST
+ - update SYNOPSIS
+
0.02 2010-06-20 13:26:57 CEST
- better log message [Alexis Sukrieh]
View
25 lib/Dancer/Logger/PSGI.pm
@@ -30,25 +30,32 @@ sub _log {
=head1 SYNOPSIS
-In your Dancer's configuration file:
+In your Dancer's environment file:
logger: PSGI
+ - plack_middlewares:
+ -
+ - ConsoleLogger
In your application
warning "this is a warning"
-Then, in your app.psgi
+With L<Plack::Middleware::ConsoleLogger>, all your log will be send to the JavaScript console of your browser.
- $app = builder { enable "ConsoleLogger"; $app; }
+=head1 DESCRIPTION
-or in your environment file:
+This class is an interface between your Dancer's application and B<psgix.logger>. Message will be logged in whatever logger you decided to use in your L<Plack> handler. If no logger is defined, nothing will be logged.
- - plack_middlewares:
- - ConsoleLogger
+=head1 AUTHOR
-With L<Plack::Middleware::ConsoleLogger>, all your log will be send to the JavaScript console of your browser.
+franck cuny <franck@lumberjaph.net>
-=head1 DESCRIPTION
+=head1 COPYRIGHT AND LICENSE
-This class is an interface between your Dancer's application and B<psgix.logger>. Message will be logged in whatever logger you decided to use in your L<Plack> handler. If no logger is defined, nothing will be logged.
+This software is copyright (c) 2010 by franck cuny.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut

0 comments on commit d5e1378

Please sign in to comment.
Something went wrong with that request. Please try again.