| 1 |
NAME |
| 2 |
Log::Any::Adapter::Log4perl - Log::Any adapter for Log::Log4perl |
| 3 |
|
| 4 |
VERSION |
| 5 |
version 0.09 |
| 6 |
|
| 7 |
SYNOPSIS |
| 8 |
use Log::Log4perl; |
| 9 |
Log::Log4perl::init('/etc/log4perl.conf'); |
| 10 |
|
| 11 |
Log::Any::Adapter->set('Log::Log4perl'); |
| 12 |
|
| 13 |
DESCRIPTION |
| 14 |
This Log::Any adapter uses Log::Log4perl for logging. log4perl must be |
| 15 |
initialized before calling *set*. There are no parameters. |
| 16 |
|
| 17 |
LOG LEVEL TRANSLATION |
| 18 |
Log levels are translated from Log::Any to Log4perl as follows: |
| 19 |
|
| 20 |
notice -> info |
| 21 |
warning -> warn |
| 22 |
critical -> fatal |
| 23 |
alert -> fatal |
| 24 |
emergency -> fatal |
| 25 |
|
| 26 |
METHODS |
| 27 |
structured |
| 28 |
This adapter supports structured logging, introduced in Log-Any v1.700. |
| 29 |
|
| 30 |
SEE ALSO |
| 31 |
* Log::Any |
| 32 |
|
| 33 |
* Log::Any::Adapter |
| 34 |
|
| 35 |
* Log::Log4perl |
| 36 |
|
| 37 |
SUPPORT |
| 38 |
Bugs / Feature Requests |
| 39 |
Please report any bugs or feature requests through the issue tracker at |
| 40 |
<https://github.com/preaction/Log-Any-Adapter-Log4perl/issues>. You will |
| 41 |
be notified automatically of any progress on your issue. |
| 42 |
|
| 43 |
Source Code |
| 44 |
This is open source software. The code repository is available for |
| 45 |
public review and contribution under the terms of the license. |
| 46 |
|
| 47 |
<https://github.com/preaction/Log-Any-Adapter-Log4perl> |
| 48 |
|
| 49 |
git clone https://github.com/preaction/Log-Any-Adapter-Log4perl.git |
| 50 |
|
| 51 |
AUTHORS |
| 52 |
* Jonathan Swartz <[email protected]> |
| 53 |
|
| 54 |
* David Golden <[email protected]> |
| 55 |
|
| 56 |
* Doug Bell <[email protected]> |
| 57 |
|
| 58 |
CONTRIBUTORS |
| 59 |
* Doug Bell <[email protected]> |
| 60 |
|
| 61 |
* Gianni Ceccarelli <[email protected]> |
| 62 |
|
| 63 |
COPYRIGHT AND LICENSE |
| 64 |
This software is copyright (c) 2018 by Jonathan Swartz. |
| 65 |
|
| 66 |
This is free software; you can redistribute it and/or modify it under |
| 67 |
the same terms as the Perl 5 programming language system itself. |
| 68 |
|