
Catalyst::Action::RenderView::ErrorHandler::Action::Log

Really a rather useless example of an ErrorHandler action. It uses catalysts logging facilities to log errors.

# In a configuration somewhere:
error_handler:
actions:
- type: Log
id: log-error
level: error
handlers:
fallback:
actions:
- log-error

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.
Inherited from Moose.

Andreas Marienborg <andreas@startsiden.no>