Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History
Under construction
Mind this proposal is still in draft!

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_Log Component Proposal

Proposed Component Name Zend_Log
Developer Notes
Proposers Martin Roest
Zend Liaison TBD
Revision 1.0 - 29 september 2008: Initial Draft. (wiki revision: 5)

Table of Contents

1. Overview

This proposition covers a new factory method in Zend_Log that eases the creation and configuration of the Zend_Log object.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

4. Dependencies on Other Framework Components

  • Zend_Config
  • zend_Log_Writer_*

5. Theory of Operation

Enable the creation and setup of the Zend_Log object from a Zend_Config object similar the Zend_Db::factory()

A user is able to setup a configuration file with the help of Zend_Config creates the config object and passes the relevant section to the Zend_Log::factory(). The factory method will create the Zend_Log object and adds the configured and enabled log writers.

This allows easy configuration and enable/disable logwriters per config section.

6. Milestones / Tasks

  • Milestone 1: Change the log writers to accept a Zend_Config object or Array when constructing the writer
  • Milestone 2: Add the factory method

7. Class Index

  • Zend_Log
  • Zend_Log_Writer_*

8. Use Cases




9. Class Skeletons


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.