code: func (ref *Config) SetDebug(val bool) {
  	if val {
  		ref.Debug = val
  		sarama.Logger = ref.Logger
  		ref.SetLevel(logging.DebugLevel)
  	} else {
  		ref.Debug = val
  	}
  }
docs: // SetDebug sets the Config.Debug field