Pimcore\Console\AbstractCommand::getLogLevel PHP Method

getLogLevel() protected method

Get log level - default to warning, but show all messages in verbose mode
protected getLogLevel ( ) : null | string
return null | string
    protected function getLogLevel()
    {
        $logLevel = LogLevel::WARNING;
        if ($this->output->isVerbose()) {
            $logLevel = null;
        }
        return $logLevel;
    }