logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Franck Cuny

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.

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.

See Also