Log::Any::Adapter::Log4perl - Log::Any adapter for Log::Log4perl
version 0.09
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
This adapter supports structured logging, introduced in Log-Any v1.700.
Log::Any
Log::Any::Adapter
Log::Log4perl
Please report any bugs or feature requests through the issue tracker at https://github.com/preaction/Log-Any-Adapter-Log4perl/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/preaction/Log-Any-Adapter-Log4perl
git clone https://github.com/preaction/Log-Any-Adapter-Log4perl.git
Jonathan Swartz <swartz@pobox.com>
David Golden <dagolden@cpan.org>
Doug Bell <preaction@cpan.org>
Doug Bell <doug@preaction.me>
Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>
This software is copyright (c) 2018 by Jonathan Swartz.
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 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.