Plack::Middleware::LogWarn(3pm) | User Contributed Perl Documentation | Plack::Middleware::LogWarn(3pm) |
Plack::Middleware::LogWarn - converts to warns to log messages
version 0.001002
builder { enable 'LogWarn'; $app; } # use it with another logger middleware builder { enable 'LogWarn'; enable 'Log4perl', category => 'plack', conf => '/path/to/log4perl.conf'; $app; }
LogWarn is a "Plack::Middleware" component that will help you get warnings into a logger. You probably want to use some sort of real logging system such as Log::Log4perl and another "Plack::Middleware" such as Plack::Middleware::Log4perl.
Plack::Middleware::Log4perl
Thanks to Micro Technology Services, Inc. for funding the initial development of this module and frew (Arthur Axel "fREW" Schmidt <frioux@gmail.com>) for his extensive patience and assistance.
Geoffrey Darling <geoffreydarling@gmail.com>
This software is copyright (c) 2011 by Geoffrey Darling.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2022-06-16 | perl v5.34.0 |