public function error($msg) { if($this->logger != null) { $this->logger->error(msg); } }
protected function logError($importObject, array $row, Gpf_Exception $e) { $this->logger->error($this->_sys('Could not import %s from %s on line %s. Throw exception: %s', $importObject, $this->file->getFileName(), implode($this->delimiter, $row), $e->getMessage())); }