News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Community News:
PSR-3 Accepted - Logger Interface
January 15, 2013 @ 10:55:01

The PHP-FIG (Framework Interoperability Group) has recently accepted the PSR-3 definition for a standardized Logger interface structure that can be used for interoperability between frameworks (and other tools).

The main goal is to allow libraries to receive a PsrLogLoggerInterface object and write logs to it in a simple and universal way. Frameworks and CMSs that have custom needs MAY extend the interface for their own purpose, but SHOULD remain compatible with this document. This ensures that the third-party libraries an application uses can write to the centralized application logs.

The implementation of this structure into your application makes it easier should you decide to swap out logging tools or want to create your own that can be used across several different frameworks. This is the third PSR to be accepted by the group, following PSR-1 and PSR-2 more related to coding standards.

0 comments voice your opinion now!
logger interface psr3 phpfig interoperability framework logging


blog comments powered by Disqus

Similar Posts

PHPEveryhwere: ADOdb Implementation of Active Record - cloning Zend_Db_DataObject

Jim Plush\'s Blog: Another PHP Framework that falls flat - PHP on Trax

Vito Chin's Blog: Session-based object instantiation with memcached

7PHP.com: Slim PHP Micro Framework Through The Lens Of Jeremy Kendall

MaltBlue.com: Why Kohana is an Excellent Alternative to Zend Framework


Community Events





Don't see your event here?
Let us know!


podcast community library symfony version opinion language tool series composer laravel application introduction framework package security interview release voicesoftheelephpant install

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework