src/Event/Base/EventDispatcher.php
public function logEvent(array $events = [])
    {
        foreach ($events as $event) {
            if (!in_array($event, $this->loggerInstance->logEvents, true)) {
                $this->loggerInstance->logEvents[] = $event;
            }
        }

        return $this;
    }
public function logEvent(array $events = [])
    {
        foreach ($events as $event) {
            if (!in_array($event, $this->loggerInstance->logEvents, true)) {
                $this->loggerInstance->logEvents[] = $event;
            }
        }

        return $this;
    }
public function logEvent ( array $ events = [ ] ) { foreach ( $ events as $ event ) { if ( ! in_array ( $ event , $ this -> loggerInstance -> logEvents , true ) ) { $ this -> loggerInstance -> logEvents [ ] = $ event ; } } return $ this ; }
log given events by given name

@param array $events
@return $this
log given events by given name