private function processTranslationLogRecord(array $records, $currentRecordIndex)
    {
        $record = $records[$currentRecordIndex];

        if (isset($records[$currentRecordIndex - 1]) && $this->isTranslationLog($records[$currentRecordIndex - 1])) {
            $record['_properties']['display_log_info'] = false;
            $record['message'] = null;
        }

        return $record;
    }
private function processTranslationLogRecord(array $records, $currentRecordIndex)
    {
        $record = $records[$currentRecordIndex];

        if (isset($records[$currentRecordIndex - 1]) && $this->isTranslationLog($records[$currentRecordIndex - 1])) {
            $record['_properties']['display_log_info'] = false;
            $record['message'] = null;
        }

        return $record;
    }
private function processTranslationLogRecord ( array $ records , $ currentRecordIndex ) { $ record = $ records [ $ currentRecordIndex ] ; if ( isset ( $ records [ $ currentRecordIndex - 1 ] ) && $ this -> isTranslationLog ( $ records [ $ currentRecordIndex - 1 ] ) ) { $ record [ '_properties' ] [ 'display_log_info' ] = false ; $ record [ 'message' ] = null ; } return $ record ; }
In Symfony applications is common to have lots of consecutive "translation not found"
log messages. This method combines them all to generate a more compact output.

@param array $records
@param int   $currentRecordIndex

@return string
In Symfony applications is common to have lots of consecutive translation not found log messages . This method combines them all to generate a more compact output .