code: func NewConfigurator(config Config, logger *log.Logger) (*Configurator, error) {
  	c := &Configurator{logger: logger}
  	err := c.Update(config)
  	if err != nil {
  		return nil, err
  	}
  	return c, nil
  }
docs: // NewConfigurator creates a new Configurator and sets the provided
  // configuration.