The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

FirePHP::LogConnector::Catalyst

SYNOPSIS

 use FirePHP::LogConnector::Catalyst;
 my $foo = FirePHP::LogConnector::Catalyst->new();

DESCRIPTION

FirePHP::LogConnector::Catalyst provides some simple Catalyst related infrastructure to log connectors

METHODS

$class->new( $app )

Returns a new abstract log connector with a reference to the application class in catalyst and enabled based on the classes debug mode.

$self->enabled

Returns true if the FirePHP dispatcher is enabled and the logger not aborted

$self->prepare_dispatcher

Support method for LogConnector instances. Requires the FirePHP::Dispatcher instance to be already in place.

Right now, this basically handles logging request parameters.

$self->finalization_method

Returns a closure that can be used by subclassed during their dispatch cycle

$self->flush_log

Generic log flush for catalyst loggers

SEE ALSO

http://www.firephp.org, FirePHP::Dispatcher

AUTHOR

Sebastian Willert, willert@cpan.org

COPYRIGHT AND LICENSE

Copyright 2009 by Sebastian Willert <willert@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.