Plack::Middleware::LogAny - Use Log::Any to handle logging from your Plack app
version 0.001
builder { enable "LogAny", category => "plack"; $app; }
LogAny is a Plack::Middleware component that allows you to use Log::Any to handle the logging object, psgix.logger.
psgix.logger
It really tries to be the thinnest possible shim, so it doesn't handle any configuration beyond setting the category to which messages from plack might be logged.
This method initializes the logger using the category that you (optionally) set.
Actually handles making sure the logger is invoked.
The Log::Any category to send logs to. Defaults to '' which means it send to the root logger.
Log::Any
''
Michael Alan Dorman <mdorman@ironicdesign.com>
This software is copyright (c) 2012 by Michael Alan Dorman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Plack::Middleware::LogAny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::LogAny
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::LogAny
For more information on module installation, please visit the detailed CPAN module installation guide.