getLog(); } /** * Get log instance * * Lazy-loads instance if not registered * * @return Zend_Log */ public function getLog() { if (null === $this->_log) { $this->setLog(new Zend_Log(new Zend_Log_Writer_ZendMonitor())); } return $this->_log; } /** * Set log instance * * @param Zend_Log $log * @return Zend_Application_Resource_Zendmonitor */ public function setLog(Zend_Log $log) { $this->_log = $log; return $this; } }