Franck Cuny > Dancer-Logger-PSGI-0.03 > Dancer::Logger::PSGI

Download:
Dancer-Logger-PSGI-0.03.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.03   Source   Latest Release: Dancer-Logger-PSGI-v1.0.1

NAME ^

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

VERSION ^

version 0.03

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 <franck@lumberjaph.net>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: