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


Dancer-Logger-PSGI documentation  | view source Contained in the Dancer-Logger-PSGI distribution.

Index


NAME

Top

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

VERSION

Top

version 0.03

SYNOPSIS

Top

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

Top

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

Top

franck cuny <franck@lumberjaph.net>

COPYRIGHT AND LICENSE

Top


Dancer-Logger-PSGI documentation  | view source Contained in the Dancer-Logger-PSGI distribution.