ZF-3113: Make Zend_Db_Profiler optionaly able to use Zend_Log to log its stuff

Description

I think that Zend_Db_Profiler should get some mechanisms to be added a Zend_Log component that could just log its work.

Some kind of $profiler->setLog(Zend_Log $log); $profiler->enableLog() $profiler->disableLog();

the $log element could then create its own Zend_Log_Formatter_Dbprofiler(), to choose what infos to log.

What do you think about that ?

Comments

No comments to display