Catalyst::Action::RenderView::ErrorHandler::Action::Log - A logging action for errors.
version 0.100162
# In a configuration somewhere: error_handler: actions: - type: Log id: log-error level: error handlers: fallback: actions: - log-error
Really a rather useless example of an ErrorHandler action. It uses catalysts logging facilities to log errors.
See "id" in Catalyst::Action::RenderView::ErrorHandler::Action
The log-level this action uses.
Implemented as a requirement of Catalyst::Action::RenderView::ErrorHandler::Action.
Will be called with the $context, and basicly calles $context->log->$level for every error.
$context
$context->log->$level
Inherited from Moose.
Andreas Marienborg <andremar@cpan.org>
This software is copyright (c) 2011 by Andreas Marienborg.
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 Catalyst::Action::RenderView::ErrorHandler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Action::RenderView::ErrorHandler
CPAN shell
perl -MCPAN -e shell install Catalyst::Action::RenderView::ErrorHandler
For more information on module installation, please visit the detailed CPAN module installation guide.