code: func EmitEvent(c context.Context, e *api.Event) error {
  	ev := Events{}
  	ev.Emit(e)
  	return ev.Flush(c)
  }
docs: // EmitEvent adds a single event to the event log.
  //
  // Prefer using Events to add multiple events at once.