Log::Any::Adapter::Log4perl(3pm)

Log::Any::Adapter::Log4perl3pm

Log::any adapter for log::log4perl

Usage

    use Log::Log4perl;
    Log::Log4perl::init('/etc/log4perl.conf');
    Log::Any::Adapter->set('Log::Log4perl');

Version

version 0.09

Overview

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

Log level translation

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

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

Methods

structured

This adapter supports structured logging, introduced in Log-Any v1.700.

Support

Bugs / Feature Requests

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.

Source Code

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

Contributors

•

Doug Bell <[email protected]>

•

Gianni Ceccarelli <[email protected]>

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9
  3. 10–11
  4. 12–13