Log::Any::Adapter::Log4perl - Log::Any::Adapter::Log4perl documentation


Log-Any-Adapter-Log4perl documentation  | view source Contained in the Log-Any-Adapter-Log4perl distribution.

Index


NAME

Top

Log::Any::Adapter::Log4perl

SYNOPSIS

Top

    use Log::Log4perl;
    Log::Log4perl::init('/etc/log4perl.conf');

    Log::Any::Adapter->set('Log::Log4perl');

DESCRIPTION

Top

This Log::Any adapter uses Log::Log4perl for logging. log4perl must be initialized before calling set. There are no parameters.

LOG LEVEL TRANSLATION

Top

Log levels are translated from Log::Any to Log4perl as follows:

    notice -> info
    warning -> warn
    critical -> fatal
    alert -> fatal
    emergency -> fatal

SEE ALSO

Top

Log::Any, Log::Any::Adapter, Log::Log4perl

AUTHOR

Top

Jonathan Swartz

COPYRIGHT & LICENSE

Top


Log-Any-Adapter-Log4perl documentation  | view source Contained in the Log-Any-Adapter-Log4perl distribution.