Page 1 of 1

PHP-FIG: PSR-3

Posted: Thu Mar 14, 2013 6:21 pm
by nand
Hi guys,

Here's another implementation of a FIG standard, the LoggerInterface.
I've enabled it to work with a Facade/Gateway for the actual handling of "logging" the message, currently includes only a flat-file approach.

Preferably a config object would be passed to it, but this can be removed for other implementations.
No example code is provided, since only the Logger object needs to be instantiated and then kept somewhere until usage(I use a service locator).

Code: http://katelyn.nand.co.za/get/PSR-3-LoggerInterface.tgz

Enjoy.

Re: PHP-FIG: PSR-3

Posted: Thu Mar 14, 2013 6:44 pm
by hallsofvallhalla
Awesome thanks for sharing!