// Debug emits a log entry at the DEBUG level.
6832
func Debug(ctx context.Context, msg string, args ...interface{}) {
	sendToAppender(ctx, DebugLevel, nil, msg, args...)
}
282786
func (l *logger) Debug(v ...interface{}) {
	f := extractFields(&v)
	l.send(LevelDebug, 2, fmt.Sprint(v...), f)
}
1337123
func Debugf(format string, v ...interface{}) {
	if DefaultLogger.HasDebug() {
		DefaultLogger.Emit(-1, fmt.Sprintf(format, v...), nil)
	}
}
969442
func Debug(logger log.Logger) log.Logger {
	return log.WithPrefix(logger, Key(), DebugValue())
}
930973
func Debug(v ...interface{}) {
	if Logger.State() == true {
		Logger.Output(2, fmt.Sprint(v...))
	}
}
529853
func (l *Logger) Debug(msg interface{}, data ...interface{}) {
	if l.shouldAppend(DEBUG) {
		l.makeLog(msg, DEBUG, data)
	}
}
26045
func (session *Session) Debug() DebugMode {
	if session.debug != DEBUG_OFF {
		return session.debug
	}

	return Debug
}
169173
func (l *defaultLogger) Debugf(format string, args ...interface{}) {
	if l.logLevel == LogLevelDebug {
		l.logMessage(format, args...)
	}
}
735070
func (lgr *logger) Debug(format string, v ...interface{}) {
	lgr.mutex.RLock()
	defer lgr.mutex.RUnlock()

	if lgr.level <= DEBUG {
		if l, ok := lgr.Logger.(*log.Logger); ok {
			l.Output(2, fmt.Sprintf(format, v...))
		} else {
			lgr.Logger.Printf(format, v...)
		}
	}
}
991731
func (l Levels) Debug() log.Logger {
	return log.WithPrefix(l.logger, l.levelKey, l.debugValue)
}
46830
func Debug(msg string, fields map[string]interface{}) error {
	return defaultLogger.Log(LvDebug, msg, fields)
}
208959
func (s *XormLogger) Debug(v ...interface{}) {
	if s.level <= glog.LvlDebug {
		s.grafanaLog.Debug(fmt.Sprint(v...))
	}
}
1341527
func (c *Config) LogDebug(format string, v ...interface{}) {
	c.doLog(LogDebug, format, v...)
}
523485
func (tl *testLogger) Debug(info, msg string) {
	tl.mux.Lock()
	defer tl.mux.Unlock()
	entry := fmt.Sprintf("%d [DEBUG] %s %s", time.Now().UnixNano(), info, msg)
	tl.entries = append(tl.entries, entry)
}
823501
func (l *tmLogger) Debug(msg string, keyvals ...interface{}) {
	lWithLevel := kitlevel.Debug(l.srcLogger)
	if err := kitlog.With(lWithLevel, msgKey, msg).Log(keyvals...); err != nil {
		errLogger := kitlevel.Error(l.srcLogger)
		kitlog.With(errLogger, msgKey, msg).Log("err", err)
	}
}
348564
func (r *Request) Debug(isdebug bool) *Request {
	r.setting.ShowDebug = isdebug
	return r
}
961467
func (e *Entry) Debug(msg string) {
	e.Logger.log(DebugLevel, e, msg)
}