Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/Catalyst-Action-RenderView-ErrorHandler-0.0105/lib/Catalyst/Action/RenderView/ErrorHandler/Action/Log.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/Catalyst-Action-RenderView-ErrorHandler-0.0105/lib/Catalyst/Action/RenderView/ErrorHandler/Action/Log.pm


NAME

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


DESCRIPTION

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


SYNOPSIS


    # In a configuration somewhere:

    error_handler:

        actions:

            - type: Log

              id: log-error

              level: error

        handlers:

            fallback:

                actions:

                    - log-error


INTERFACE

INHERITED ACCESSORS

id

See id in the Catalyst::Action::RenderView::ErrorHandler::Action manpage

ACCESSORS

level

The log-level this action uses.

IMPLEMENTED METHODS

perform

Implemented as a requirement of the Catalyst::Action::RenderView::ErrorHandler::Action manpage.

Will be called with the $context, and basicly calles $context->log->$level for every error.

INHERITED METHODS

meta

Inherited from Moose.


AUTHOR

Andreas Marienborg <andreas@startsiden.no>

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy