View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Richard Simões > Dancer-Logger-PSGI-v1.0.1 > Dancer::Logger::PSGI

Download:
Dancer-Logger-PSGI-v1.0.1.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: v1.0.1   Source  

NAME ^

Dancer::Logger::PSGI - PSGI Log handler for Dancer

SYNOPSIS ^

In your Dancer's environment file:

    logger: PSGI
    - plack_middlewares:
      -
        - ConsoleLogger

In your application:

    warning 'this is a warning';

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

DESCRIPTION ^

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

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Richard Simões <rsimoes AT cpan DOT com>. It is released under the terms of the MIT (X11) License and may be modified and/or redistributed under the same or any compatible license.

syntax highlighting: