ZF-6946: Add Config functionality

Issue Type: New Feature Created: 2009-06-07T21:07:49.000+0000 Last Updated: 2011-01-20T11:36:04.000+0000 Status: Open Fix version(s): Reporter: George Cooksey (ssbg) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Log

Related issues: Attachments:


Please add setConfig(Zend_Config $config) & setOptions(array $options) functionality to Zend_Log & Zend_Log_Writer_Abstract.


Posted by Matthew Weier O'Phinney (matthew) on 2009-06-08T04:36:55.000+0000

I believe this will be addressed as part of the Zend_Log factory proposal. I'll confirm once I have an ETA on when that component will be complete.

Posted by George Cooksey (ssbg) on 2009-06-19T11:55:44.000+0000

I've looked over the proposal and have two issues:

  1. It looks dead/dormant/inactive.
  2. We shouldn't slide down the slippery-slope of factory-itis.

Posted by Matthew Weier O'Phinney (matthew) on 2009-06-19T12:03:01.000+0000

The developer has assured me he will be completing it this month. One of the requirements was that it allow passing a config object or array to the constructor in order to perform the factory mechanism (since the specific goal is instantiating the appropriate log writers and/or filters for a given instance).

Posted by BenoƮt Durand (intiilapa) on 2011-01-20T11:36:04.000+0000

Zend_Log::factory() is completed now. Method setOptions does not exist, but the functionality is here.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.