code: private void logEvent(Node node, EventType eventType)
      {
          // Node contains original as well as transactional copy.
          EventLog log = new EventLog(eventType, node);
          eventLogQueue.onEvent(log, eventType);
      }
docs: Log event.
  
  @param node
  the node
  @param eventType
  the event type