Plack::Middleware::ChromeLogger - The Chrome Logger Middleware for Plack
use Plack::Builder; builder { enable "ChromeLogger"; sub { $env->{"psgix.chrome_logger"}->info("foo"); [200, [], ["OK"]]; }; };
Plack::Middleware::ChromeLogger is the Chrome Logger Middleware for Plack.
See Web::ChromeLogger, http://craig.is/writing/chrome-logger for detail
pass to Web::ChromeLogger. Who need to set this parameter ?
By default this middleware is turned off in production environment. If you set enable_in_production to TRUE value, then chrome logger will be enabled in production environment.
turn off this middleware
Plack::Middleware::ChromeLogger is hosted on github <http://github.com/bayashi/Plack-Middleware-ChromeLogger>
Welcome your patches and issues :D
Dai Okabayashi <bayashi@cpan.org>
Web::ChromeLogger
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Plack::Middleware::ChromeLogger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::ChromeLogger
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::ChromeLogger
For more information on module installation, please visit the detailed CPAN module installation guide.