Catalyst::Plugin::Log4perl::Simple - Simple Log4perl setup for Catalyst application
version 0.005
use Catalyst qw/ ... Log4Perl::Simple /; $c->log->warn("Now we're logging through Log4perl");
This is a trivial Catalyst plugin that searches for a log4perl configuration file and uses it to configure Log::Log4perl::Catalyst as the logger for your application. If no configuration is found, a sensible default is provided.
For an application My::App, the following locations are searched:
Called by Catalyst to set up the plugin. You should not need to call this yourself.
There is no test suite.
Log::Log4perl::Catalyst
Peter Corlett <abuse@cabal.org.uk>
This software is copyright (c) 2011 by Peter Corlett.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Catalyst::Plugin::Log4perl::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Log4perl::Simple
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Log4perl::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.