lf4php/lf4php-stdout

This is an lf4php binding for Stdout.

1.0.1 2012-12-17 10:36 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());