NAME
Catalyst::Plugin::Log4perl::Simple - Simple Log4perl setup for Catalyst application
VERSION
Version 0.003
SYNOPSIS
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 Catalyst::Log::Log4perl 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:
AUTHOR
Peter Corlett, <abuse at cabal.org.uk>
BUGS
Versions earlier than 0.002 were overcomplicated and used a now-deprecated NEXT method. Under recent Catalyst, this would break plugins listed after it in the "use Catalyst" line.
SEE ALSO
Catalyst::Log::Log4perl
COPYRIGHT & LICENSE
Copyright 2009,2010 Peter Corlett, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.