Catalyst::Log::Log4perlSimple
Generally speaking you probably don't want to use this directly, instead you should use Catalyst::Plugin::Log::Log4perlSimple.
If you do want do use it, generally it would be in the form:
__PACKAGE__->log(Catalyst::Log::Log4perlSimple->new);
This is a replacement for Catalyst's Catalyst::Log object. It provides the same functionality (including flush/abort) so that plugins that don't want to log particular requests can do so successfully.
Martyn Smith <martyn@catalyst.net.nz>
This method is the same as Catalyst::Log's _flush method. Depending on the abort flag it either clears the buffer, or flushes it to screen/file.
Invoked by Moose after the object is constructed, this just initialises Log4perl using a custom config which uses the Log::Log4perl::Appender::CatalystProxy appender.
To install Catalyst::Plugin::Log::Log4perlSimple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Log::Log4perlSimple
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Log::Log4perlSimple
For more information on module installation, please visit the detailed CPAN module installation guide.