protected $_formatter;
/**
* Add a filter specific to this writer.
*
* @param Zend_Log_Filter_Interface $filter
* @return Zend_Log_Writer_Abstract
*/
public function addFilter($filter) { if (is_int($filter)) { $filter =
new Zend_Log_Filter_Priority($filter);
} if (!
$filter instanceof Zend_Log_Filter_Interface
) { /** @see Zend_Log_Exception */
throw new Zend_Log_Exception('Invalid filter provided'
);
} $this->_filters
[] =
$filter;
return $this;
}