Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fcuny committed Apr 17, 2010
1 parent 2d615db commit c39591d
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions README
Original file line number Diff line number Diff line change
@@ -1,16 +1,35 @@
NAME
Dancer::Logger::PSGI -
Dancer::Logger::PSGI - PSGI logger handler for Dancer

SYNOPSIS
use Dancer::Logger::PSGI;
In your Dancer's configuration file:

logger: PSGI

In your application

warning "this is a warning"

In your app.psgi

$app = builder { enable "ConsoleLogger"; $app; }

With Plack::Middleware::ConsoleLogger, all your log will be send to the
javascript console of your browser.

DESCRIPTION
Dancer::Logger::PSGI is
This class is an interface between your Dancer's application and
psgix.logger. Message will be logged in whatever logger you decided to
use in your Plack handler. If no logger is defined, nothing will be
logged.

AUTHOR
franck cuny <franck@lumberjaph.net>

SEE ALSO
Plack::Middleware::ConsoleLogger, Plack::Middleware::NullLogger,
Plack::Middleware::Log4perl.

LICENSE
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
Expand Down

0 comments on commit c39591d

Please sign in to comment.