abacaphiliac / psr-log4php
A PSR-3-compliant log4php-wrapper.
Installs: 2 797 112
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- php: >=5.6
- apache/log4php: ^2.0
- psr/log: ^1.0
Requires (Dev)
- jakub-onderka/php-parallel-lint: ^0.9
- phing/phing: ^2.9
- phpunit/phpunit: ^5.4|^4.8
- squizlabs/php_codesniffer: ^2.2
This package is auto-updated.
Last update: 2024-11-04 10:15:36 UTC
README
abacaphiliac/psr-log4php
A PSR-3-compliant log4php-wrapper.
Installation
composer require abacaphiliac/psr-log4php
Usage
$nonPsrLogger = \Logger::getLogger('MyLogger');
$psrLogger = new \Abacaphiliac\PsrLog4Php\LoggerWrapper($nonPsrLogger);
Dependencies
See composer.json.
Contributing
composer update && vendor/bin/phing
This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.