/usr/share/doc/libplack-middleware-logwarn-perl/README is in libplack-middleware-logwarn-perl 0.001002-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | NAME
Plack::Middleware::LogWarn - converts to warns to log messages
VERSION
version 0.001002
SYNOPSIS
builder {
enable 'LogWarn';
$app;
}
# use it with another logger middleware
builder {
enable 'LogWarn';
enable 'Log4perl', category => 'plack', conf => '/path/to/log4perl.conf';
$app;
}
DESCRIPTION
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.
CONFIGURATION
logger
optional, "coderef" that will capture warnings. By default it uses
"$env->{'psgix.logger'}" with a level of "warn".
SEE ALSO
Plack::Middleware::Log4perl
CREDITS
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.
AUTHOR
Geoffrey Darling <geoffreydarling@gmail.com>
COPYRIGHT AND LICENSE
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.
|