original_string: protected function _log($eventName)
      {
          if (isset($this->_log[$eventName])) {
              $this->_log[$eventName]++;
          } else {
              $this->_log[$eventName] = 1;
          }
      }
code: protected function _log($eventName)
      {
          if (isset($this->_log[$eventName])) {
              $this->_log[$eventName]++;
          } else {
              $this->_log[$eventName] = 1;
          }
      }
code_tokens: protected function _log ( $ eventName ) { if ( isset ( $ this -> _log [ $ eventName ] ) ) { $ this -> _log [ $ eventName ] ++ ; } else { $ this -> _log [ $ eventName ] = 1 ; } }
docstring: Logs the given event.
  
  @param string $eventName The event name to log
  @return void
docstring_tokens: Logs the given event .