Issue Type: Improvement Created: 2008-04-14T11:45:07.000+0000 Last Updated: 2012-11-20T20:52:48.000+0000 Status: Closed Fix version(s): Reporter: julien PAULI (doctorrock83) Assignee: None Tags: - Zend_Log
Related issues: Attachments:
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.
Posted by Wil Sinclair (wil) on 2009-01-21T11:47:21.000+0000
Hi Julien, I'm reviewing improvements to Zend_Log for 1.8 now. I'll get back to you on the separate suggestions soon, but please remember to create one issue for each feature request in the future. It will make it much easier for us to handle them separately.
Posted by Rob Allen (rob) on 2012-11-20T20:52:48.000+0000
Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".
Feel free to re-open and provide a patch if you want to fix this issue.
Have you found an issue?
See the Overview section for more details.