Plack::Middleware::Log::MinimalLog::Minimal middleware to prints to psgi.errors | |
Download |
Plack::Middleware::Log::Minimal Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Masahiro Nagano
- Publisher web site:
- http://search.cpan.org/~kazeburo/
Plack::Middleware::Log::Minimal Tags
Plack::Middleware::Log::Minimal Description
Log::Minimal middleware to prints to psgi.errors Plack::Middleware::Log::Minimal is Perl module that integrates with Log::Minimal. When Log::Minimal log functions like warnf, infof or debugf were used in PSGI Application, this middleware adds requested URI to messages and prints that to psgi.errors stream.SYNOPSIS use Log::Minimal; use Plack::Builder; builder { enable "Plack::Middleware::Log::Minimal", autodump => 1; sub { my $env = shift; debugf("debug message"); infof("infomation message"); warnf("warning message"); critf("critical message"); ,]; }; }; # print "2010-10-20T00:25:17 infomation message at example.psgi" to psgi.errors stream Requirements: · Perl
Plack::Middleware::Log::Minimal Related Software