code: func New(ctx context.Context, c Config) output.Output {
  	o := pubSubOutput{
  		Config: &c,
  	}
  	o.bufferPool.New = func() interface{} { return &buffer{} }
  
  	if c.Track {
  		o.et = &output.EntryTracker{}
  	}
  
  	o.Context = log.SetField(ctx, "pubsub", &o)
  	return &o
  }
docs: // New instantiates a new GCPS output.