bundle/Command/SolrCreateIndexCommand.php
private function logWarning(OutputInterface $output, ProgressBar $progress, $message)
    {
        $progress->clear();
        $this->logger->warning($message);
        $progress->display();
    }
private function logWarning(OutputInterface $output, ProgressBar $progress, $message)
    {
        $progress->clear();
        $this->logger->warning($message);
        $progress->display();
    }
Log warning while progress helper is running.

@param \Symfony\Component\Console\Output\OutputInterface $output
@param \Symfony\Component\Console\Helper\ProgressBar $progress
@param $message