eZ\Bundle\EzPublishLegacySearchEngineBundle\Command\CreateIndexCommand::logWarning PHP Method

logWarning() private method

Log warning while progress helper is running.
private logWarning ( Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Helper\ProgressHelper $progress, $message )
$output Symfony\Component\Console\Output\OutputInterface
$progress Symfony\Component\Console\Helper\ProgressHelper
$message
    private function logWarning(OutputInterface $output, ProgressHelper $progress, $message)
    {
        $progress->clear();
        // get rid of padding (side effect of displaying progress bar)
        $output->write("\r");
        $this->logger->warning($message);
        $progress->display();
    }