Log::Any::Adapter::Log4perl
use Log::Log4perl; Log::Log4perl::init('/etc/log4perl.conf'); Log::Any::Adapter->set('Log::Log4perl');
This Log::Any adapter uses Log::Log4perl for logging. log4perl must be initialized before calling set. There are no parameters.
Log levels are translated from Log::Any to Log4perl as follows:
notice -> info warning -> warn critical -> fatal alert -> fatal emergency -> fatal
Log::Any, Log::Any::Adapter, Log::Log4perl
Jonathan Swartz
Copyright (C) 2007 Jonathan Swartz, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Log::Any::Adapter::Log4perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Any::Adapter::Log4perl
CPAN shell
perl -MCPAN -e shell install Log::Any::Adapter::Log4perl
For more information on module installation, please visit the detailed CPAN module installation guide.