protected function logInitialization(array $logData)
    {
        if (!$this->site->getSolrConfiguration()->getLoggingIndexingIndexQueueInitialization()) {
            return;
        }

        $logSeverity = isset($logData['error']) ? SolrLogManager::ERROR : SolrLogManager::NOTICE;
        $logData = array_merge($logData, [
            'site' => $this->site->getLabel(),
            'indexing configuration name' => $this->indexingConfigurationName,
            'type' => $this->type,
        ]);

        $message = 'Index Queue initialized for indexing configuration ' . $this->indexingConfigurationName;
        $this->logger->log($logSeverity, $message, $logData);
    }
protected function logInitialization(array $logData)
    {
        if (!$this->site->getSolrConfiguration()->getLoggingIndexingIndexQueueInitialization()) {
            return;
        }

        $logSeverity = isset($logData['error']) ? SolrLogManager::ERROR : SolrLogManager::NOTICE;
        $logData = array_merge($logData, [
            'site' => $this->site->getLabel(),
            'indexing configuration name' => $this->indexingConfigurationName,
            'type' => $this->type,
        ]);

        $message = 'Index Queue initialized for indexing configuration ' . $this->indexingConfigurationName;
        $this->logger->log($logSeverity, $message, $logData);
    }
protected function logInitialization ( array $ logData ) { if ( ! $ this -> site -> getSolrConfiguration ( ) -> getLoggingIndexingIndexQueueInitialization ( ) ) { return ; } $ logSeverity = isset ( $ logData [ 'error' ] ) ? SolrLogManager :: ERROR : SolrLogManager :: NOTICE ; $ logData = array_merge ( $ logData , [ 'site' => $ this -> site -> getLabel ( ) , 'indexing configuration name' => $ this -> indexingConfigurationName , 'type' => $ this -> type , ] ) ; $ message = 'Index Queue initialized for indexing configuration ' . $ this -> indexingConfigurationName ; $ this -> logger -> log ( $ logSeverity , $ message , $ logData ) ; }
Writes the passed log data to the log.

@param array $logData
Writes the passed log data to the log .