NAME
Contentment::Log::Stderr - Log handler that logs to STDERR
SYNOPSIS
# in init.yml:
hooks:
Contentment::Log::error:
sub: Contentment::Log::Stderr::log
DESCRIPTION
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.
HOOK HANDLERS
- Contentment::Log::Stderr::log
-
This method reports all log information sent to it.
- Contentment::Log::Stderr::info_warning_error_log
-
This method reports all log information sent to it with log levels "INFO", "WARNING", or "ERROR".
- Contentment::Log::Stderr::warning_error_log
-
Logs anything with level "WARNING" or "ERROR". Logs nothing else.
- Contentment::Log::Stderr::error_log
-
Only logs message with level "ERROR".
AUTHOR
Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2005 Andrew Sterling Hanenkamp. All Rights Reserved.
Contentment is licensed and distributed under the same terms as Perl itself.