code: func (c *Registry) String() string {
  	allSettings := c.v.AllSettings()
  	y, err := yaml.Marshal(&allSettings)
  	if err != nil {
  		log.WithFields(map[string]interface{}{
  			"settings": allSettings,
  			"err":      err,
  		}).Panicln("Failed to marshall config to string")
  	}
  	return fmt.Sprintf("%s\n", y)
  }
docs: // String returns the current configuration as a string