/**
  * Process errors
  *
  * @param int $errorLevel
  * @return bool
  */
 protected function checkForErrors($errorLevel = Logger::WARNING)
 {
     foreach ($this->errors as $error) {
         $this->logger->addRecord($errorLevel, $error);
     }
     return empty($this->errors);
 }