protected function log($message, $severity = LOG_INFO)
    {
        if (!isset($this->severityLabels[$severity])) {
            throw new Exception('Invalid severity value', 1426868867);
        }
        $this->importService->addEventMessage(sprintf('Record:Import:Log:%s', $this->severityLabels[$severity]), $message, $severity, $this->currentEvent);
    }
protected function log($message, $severity = LOG_INFO)
    {
        if (!isset($this->severityLabels[$severity])) {
            throw new Exception('Invalid severity value', 1426868867);
        }
        $this->importService->addEventMessage(sprintf('Record:Import:Log:%s', $this->severityLabels[$severity]), $message, $severity, $this->currentEvent);
    }
protected function log ( $ message , $ severity = LOG_INFO ) { if ( ! isset ( $ this -> severityLabels [ $ severity ] ) ) { throw new Exception ( 'Invalid severity value' , 1426868867 ) ; } $ this -> importService -> addEventMessage ( sprintf ( 'Record:Import:Log:%s' , $ this -> severityLabels [ $ severity ] ) , $ message , $ severity , $ this -> currentEvent ) ; }
Create an entry in the event log
Create an entry in the event log