code: func push(stack []*logconfig.SinkConfig, sinkConfigs ...*logconfig.SinkConfig) []*logconfig.SinkConfig {
  	for _, sinkConfig := range sinkConfigs {
  		peek(stack).AddSinks(sinkConfig)
  		stack = append(stack, sinkConfig)
  	}
  	return stack
  }
docs: // Push a path sequence of sinks onto the stack