Contentment::Log::Stderr - Log handler that logs to STDERR
# in init.yml: hooks: Contentment::Log::error: sub: Contentment::Log::Stderr::log
This class merely defines a few hook handlers. All the log handlers listed here are simple and send their data to STDERR. This is useful when Contentment is running as a CGI when STDERR is captured and redirected tot he web server's error log.
This method reports all log information sent to it.
This method reports all log information sent to it with log levels "INFO", "WARNING", or "ERROR".
Logs anything with level "WARNING" or "ERROR". Logs nothing else.
Only logs message with level "ERROR".
Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>
Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.
Contentment is licensed and distributed under the same terms as Perl itself.
To install Contentment, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Contentment
CPAN shell
perl -MCPAN -e shell install Contentment
For more information on module installation, please visit the detailed CPAN module installation guide.