lf4php / lf4php-log4php
This is an lf4php binding for log4php.
Installs: 3 373
Dependents: 6
Suggesters: 1
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- apache/log4php: 2.3.*
- lf4php/lf4php: ~5.0
Requires (Dev)
- mockery/mockery: 1.0
- phpunit/phpunit: 7.0.2
This package is not auto-updated.
Last update: 2024-11-09 14:37:27 UTC
README
This is a log4php binding for lf4php.
Using lf4php-log4php
Log4php configuration
<?php Logger::configure('config.xml');
lf4php will work properly without any configuration steps.
Logging
<?php $logger = LoggerFactory::getLogger(__CLASS__); $logger->info('Message'); $logger->debug('Hello {}!', array('John')); $logger->error(new \Exception());
History
2.1
MDC support.
2.0
Updated lf4php (3.0.x)