public function logError(ContactEventLog $eventLog, $errorMessage)
    {
        // @todo - add translator for messages.
        $eventLog->addProperty('error', $errorMessage)
            ->setAction('failed');
        $this->ContactEventLogRepo->saveEntity($eventLog);
        // $this->logDebug('Line '. 1 .' error: '.'err', []);
    }
public function logError(ContactEventLog $eventLog, $errorMessage)
    {
        // @todo - add translator for messages.
        $eventLog->addProperty('error', $errorMessage)
            ->setAction('failed');
        $this->ContactEventLogRepo->saveEntity($eventLog);
        // $this->logDebug('Line '. 1 .' error: '.'err', []);
    }
public function logError ( ContactEventLog $ eventLog , $ errorMessage ) { // @todo - add translator for messages. $ eventLog -> addProperty ( 'error' , $ errorMessage ) -> setAction ( 'failed' ) ; $ this -> ContactEventLogRepo -> saveEntity ( $ eventLog ) ; // $this->logDebug('Line '. 1 .' error: '.'err', []); }
Save log about errored line.

@param ContactEventLog $eventLog
@param string          $errorMessage
Save log about errored line .