Catalyst-Plugin-Observe

 view release on metacpan or  search on metacpan

lib/Catalyst/Plugin/Observe.pm  view on Meta::CPAN

        my ( $c, $event, @args ) = @_;
        $c->log->info( "observed " . $event . " with arguments " . join( '\n', @args ) );
    }


=head1 DESCRIPTION

Observe Engine events, for debugging purposes. Subclasses
L<Class::Publisher>.

C<Catalyst::Plugin::Observe> allows you to register your own callbacks
to specific Engine events (method calls), and to be notified through the
callback when they occur. When the Engine calls the event, your callback
will be called with the same arguments, which you can then display (etc.)
as necessary.

=head1 CALLBACK VARIABLES

=over 4

=item C<$event>



( run in 0.689 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )