protected function _log($eventName)
    {
        if (isset($this->_log[$eventName])) {
            $this->_log[$eventName]++;
        } else {
            $this->_log[$eventName] = 1;
        }
    }
protected function _log($eventName)
    {
        if (isset($this->_log[$eventName])) {
            $this->_log[$eventName]++;
        } else {
            $this->_log[$eventName] = 1;
        }
    }
protected function _log ( $ eventName ) { if ( isset ( $ this -> _log [ $ eventName ] ) ) { $ this -> _log [ $ eventName ] ++ ; } else { $ this -> _log [ $ eventName ] = 1 ; } }
Logs the given event.

@param string $eventName The event name to log
@return void
Logs the given event .