/**
  * Get errors.
  *
  * @return array|FALSE
  *   Array of strings with error messages if any.
  */
 public function getErrors()
 {
     if (isset($this->pipes) && is_resource($this->pipes[2])) {
         while ($error = fgets($this->pipes[2])) {
             $this->logger->logError('getErrors', $error);
             $this->errors[] = $error;
         }
     }
     return isset($this->errors) ? $this->errors : FALSE;
 }
 /**
  * Get logged messages.
  */
 function getLogs()
 {
     return $this->logger->formatLogs();
 }