// SetDebug sets the Config.Debug field
556896
func (ref *Config) SetDebug(val bool) {
	if val {
		ref.Debug = val
		sarama.Logger = ref.Logger
		ref.SetLevel(logging.DebugLevel)
	} else {
		ref.Debug = val
	}
}
1247389
func (r *Runtime) SetDebug(debug bool) {
	r.Debug = debug
	middleware.Debug = debug
}
1321897
func (l *Logger) Debug(v ...interface{}) {
	if l.getLevel() <= Debug {
		l.getHandler().Log(l.name, Debug, fmt.Sprint(v...), 1)
	}
}
898742
func (gitter *Gitter) SetDebug(debug bool, logWriter io.Writer) {
	gitter.debug = debug
	gitter.logWriter = logWriter
}
282786
func (l *logger) Debug(v ...interface{}) {
	f := extractFields(&v)
	l.send(LevelDebug, 2, fmt.Sprint(v...), f)
}
26045
func (session *Session) Debug() DebugMode {
	if session.debug != DEBUG_OFF {
		return session.debug
	}

	return Debug
}
1060002
func (l *Log) Debug(args ...interface{}) {
	opts := getLoggerOpts(l.module, api.DEBUG)
	if !opts.levelEnabled {
		return
	}
	if l.loadCustomLogger() {
		l.customLogger.Debug(args...)
		return
	}
	l.log(opts, api.DEBUG, args...)
}
424215
func (l *dglog) Debug(v ...interface{}) {
	if l.runLevel == common.RUN_DEBUG {
		v = append([]interface{}{common.RUN_DEBUG_FORMAT}, v...)
		logDataChan <- fmt.Sprint(v...)
	}
}
208959
func (s *XormLogger) Debug(v ...interface{}) {
	if s.level <= glog.LvlDebug {
		s.grafanaLog.Debug(fmt.Sprint(v...))
	}
}
775447
func (c *Config) Debug() {
	for key, val := range *c {
		log.Debugf("config[%s] = %v", key, val)
	}
}
333030
func Debug() func(*Config) error {
	return func(c *Config) error {
		c.debug = true
		return nil
	}
}
1176804
func (l *intLogger) IsDebug() bool {
	return Level(atomic.LoadInt32(l.level)) <= Debug
}
968650
func libusbSetDebug(c *libusbContext, lvl int) {
	C.libusb_set_debug((*C.libusb_context)(c), C.int(lvl))
}
1359332
func (c *Conn) SetDebug(w io.Writer) {
	c.debug = w
	c.init()
}
829487
func (f *Fetcher) Debug() <-chan *DebugInfo {
	f.dbgmu.Lock()
	defer f.dbgmu.Unlock()
	f.debugging = true
	return f.dbg
}
268857
func SetDebugInfo(err error, meta metadata.MD) {
	if _, ok := err.(*trace.TraceErr); !ok {
		return
	}
	out, err := json.Marshal(err)
	if err != nil {
		return
	}
	meta[DebugReportMetadata] = []string{
		base64.StdEncoding.EncodeToString(out),
	}
}
1318142
func (l logger) Debug(message string, data ...interface{}) {
	for _, sink := range l.sinks {
		sink.Log(DEBUG, l.toByteArray(message, data...))
	}
}