protected function _write($level, $string, $params = array(), $backtrace = null, $entry_title = null) { $entry = new lmbLogEntry($level, $string, $params, $backtrace); if ($entry_title) { $entry->setTitle($entry_title); } $this->logs[] = $entry; $this->_writeLogEntry($entry); }