src/Event/Base/EventLog.php
public function makeLogEvent($name, $eventListener, $status)
    {
        if ($this->options['log_events']
            && ($this->options['log_all_events']
                || in_array($name, $this->logEvents, true)
            )
        ) {
            $this->loggerInstance->makeLog(
                [
                    'event_name' => $name,
                    'listener' => $this->getListenerData($eventListener),
                    'status' => $status
                ]
            );
        }

        return $this;
    }
public function makeLogEvent($name, $eventListener, $status)
    {
        if ($this->options['log_events']
            && ($this->options['log_all_events']
                || in_array($name, $this->logEvents, true)
            )
        ) {
            $this->loggerInstance->makeLog(
                [
                    'event_name' => $name,
                    'listener' => $this->getListenerData($eventListener),
                    'status' => $status
                ]
            );
        }

        return $this;
    }
public function makeLogEvent ( $ name , $ eventListener , $ status ) { if ( $ this -> options [ 'log_events' ] && ( $ this -> options [ 'log_all_events' ] || in_array ( $ name , $ this -> logEvents , true ) ) ) { $ this -> loggerInstance -> makeLog ( [ 'event_name' => $ name , 'listener' => $ this -> getListenerData ( $ eventListener ) , 'status' => $ status ] ) ; } return $ this ; }
check that event data can be logged and create log message

@param string $name
@param mixed $eventListener
@param bool|string $status
@return $this
check that event data can be logged and create log message