public function log($message) { if (!$this->_logDb->log($message)) { $this->_logFile->log($message); $this->_logFile->log($this->_logDb->getLastError()); } }