public function write($event) { foreach ($this->_filters
as $filter) { if (!
$filter->
accept($event)) { return;
} } // exception occurs on error
$this->
_write($event);
} /**
* Set a new formatter for this writer
*
* @param Zend_Log_Formatter_Interface $formatter
* @return Zend_Log_Writer_Abstract
*/
public function setFormatter(Zend_Log_Formatter_Interface
$formatter) { $this->_formatter =
$formatter;