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

Raphael Stolt's Blog:
Two Zend_Log Posts
Apr 12, 2007 @ 07:54:00

Raphael Stolt has two new Zend_Log related posts on his blog today - one dealing with the creation of a simple Zend_Log_Filter and the other looking at what's new in the latest release of the Framework.

The first post provides two bits of code to show the creation of the filter, one to create the interface and the other to show it in action. He uses it to log the visitors IP address and hostname along with a custom message and a priority for the message.

In the second post he steps back and takes a more overall view of the component. He looks at how it works, features it offers and, of course, how to create a custom filter and use it in your application. He logs the same information as mentioned above and stores it out in an XML-based format.

tagged: zendlog zendframework zendlogfilter custom zendlog zendframework zendlogfilter custom

Link: