code: void triggerBasicEvent(Event.EventType type, String message)
    {
      triggerBasicEvent(type, message, false);
    }
docs: Triggers a new event of type @type with message @message and flushes
  the eventBuffer if full
  
  @param type    event type
  @param message triggering message