lf4php / lf4php-stdout
This is an lf4php binding for Stdout.
1.0.1
2012-12-17 10:36 UTC
Requires
- php: >=5.3.0
- lf4php/lf4php: 1.0.*
This package is not auto-updated.
Last update: 2024-10-26 12:49:59 UTC
README
This is a Stdout binding for lf4php.
Using lf4php-stdout
Configuration
<?php LoggerFactory::setILoggerFactory(new StdoutLoggerFactory());
Logging
<?php $logger = LoggerFactory::getLogger(null); $logger->info('Message'); $logger->debug('Hello {{name}}!', array('name' => 'John')); $logger->error(new \Exception());