History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ZF-3108
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: julien PAULI
Reporter: julien PAULI
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

make Zend_Log classes iterable + other improvements

Created: 14/Apr/08 11:45 AM   Updated: 14/Apr/08 11:45 AM
Component/s: Zend_Log
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
Hi, I found some improvements to add to different Zend_Log files.

First, the $event treated in Zend_Log_Writer_Abstract and all its children should be casted to Array in the function definitions ( for safety ).

Second, I think that Zend_Log should be iterable to give back the Writers it has been provided, and additionaly all the writers should be "toStringable" to reflect the name of their own class

Same for Zend_Log_Writer_Mock : it should be recursive Iterable so that a simple foreach loop on it would give back all the messages it's been containing.

All those patches are ready in my local copy and waiting for approvement.

I can as well take care of the other improvements asked for that component, such as ZF-2618 that could lead to a warning show if default timezone has not been set in PHP, ZF-2428 as well....

Let me know.



 All   Comments   Work Log   Change History   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.