News Feed
Sections




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

Stuart Herbert:
Personal Thoughts On The PSR-3 Log Proposal
December 31, 2012 @ 10:46:13

In his latest post, Stuart Herbert has shared some thoughts about the recently proposed PSR-3 proposal for a unified logging interface for PHP projects.

PSR-3 is a proposed standard (voting has finished, it should appear as an accepted standard when the PSR folks recover from too much Christmas turkey) describing a common logging interface for PHP frameworks. It's based on a small subsection of RFC 5424, which describes the Syslog standard, which is a very sensible choice. Sysadmins think in terms of Syslog levels, and they utterly hate dealing with loggers that don't map cleanly onto Syslog.

He briefly introduces the PSR and the format of the logger with some of the main methods it should implement and what they do. He talk gets into some of his critiques about the proposal, namely the method naming, the exception handling parameter and the proposed LogLevel constants.

0 comments voice your opinion now!
psr3 proposal phpfig logger interface thoughts opinion


blog comments powered by Disqus

Similar Posts

Nikita Popov's Blog: What PHP 5.5 might look like

Scott Johnson's Blog: What's a PHP Programmer Worth?

Hartmut Holzgraefe's Blog: PHPReboot Braindump

Matthew Weir O'Phinney's Blog: Cgiapp2 Tutorial 1 - Switch Template Plugins at Will

Mashable.com: 8 Experts Break Down the Pros and Cons of Coding With PHP


Community Events





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


language opinion community laravel interview tips release framework deployment api introduction install package update series zendserver symfony podcast library list

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