// HasDebug returns true if the debug logging FlagSet is enabled, false
// otherwise.
320696
func (l *Logger) HasDebug() bool {
	flags := FlagSet(atomic.LoadUint64(&l.flags))
	return flags&Ldebug != 0
}
1341527
func (c *Config) LogDebug(format string, v ...interface{}) {
	c.doLog(LogDebug, format, v...)
}
1372611
func (l *Logger) Debug(v interface{}) {
	if l.checkLogLevel(DebugLevel) {
		l.Output(time.Now(), DebugLevel, format(v))
	}
}
1023066
func (gl *goLogger) Debug(info, msg string) {
	log.Println("[DEBUG]", info, msg)
}
1308253
func (entry *Entry) Debug(args ...interface{}) {
	if entry.lgEntry.Logger.Level >= lg.DebugLevel {
		entry.lgEntry.WithFields(entry.fields).Debug(args...)
	}
}
1116706
func Debug(ctx context.Context, format string, args ...interface{}) {
	if !ctxutil.IsDebug(ctx) {
		return
	}

	var loc string
	if _, file, line, ok := runtime.Caller(1); ok {
		file = file[strings.Index(file, "pkg/"):]
		file = strings.TrimPrefix(file, "pkg/")
		loc = fmt.Sprintf("%s:%d ", file, line)
	}

	fmt.Fprintf(Stdout, Prefix(ctx)+"[DEBUG] "+loc+format+newline(ctx), args...)
}
1371618
func (entry *Entry) Debug(args ...interface{}) {
	if logger.Level >= logrus.DebugLevel {
		entry.Entry.Debug(args...)
	}
}
1140055
func Debug(v ...interface{}) {
	if Severity >= LevelDebug {
		std.Output(5, fmt.Sprint(v...), LevelDebug)
	}
}
377939
func (c *Client) SetDebug(debug bool) {
	c.m.Lock()
	defer c.m.Unlock()

	c.Debug = debug
}
646398
func (l *DefaultLogger) Debug(msg string, args ...interface{}) {
	l.Log(LevelDebug, msg, args)
}
322799
func (dl *ConsoleLogger) Debug(message interface{}, params ...interface{}) {
	dl.logger.Debugf(fmt.Sprintf("%s %s", caller(), fmt.Sprint(message)), params...)
}
1285748
func (s *SuperAgent) SetDebug(enable bool) *SuperAgent {
	s.Debug = enable
	return s
}
1176804
func (l *intLogger) IsDebug() bool {
	return Level(atomic.LoadInt32(l.level)) <= Debug
}
236588
func (s *SimpleLogger) Debug(v ...interface{}) {
	if s.level <= core.LOG_DEBUG {
		s.DEBUG.Output(2, fmt.Sprint(v...))
	}
	return
}
931799
func (l *Logger) Debug(format string, args ...interface{}) {
	l.debug(1, format, args...)
}
1215248
func (l *logger) Debug(i interface{}) {
	if !l.isDebug {
		return
	}
	switch v := i.(type) {
	case error:
		l.printLog("[DEBUG]", v.Error())
	case fmt.Stringer:
		l.printLog("[DEBUG]", v.String())
	case string:
		l.printLog("[DEBUG]", v)
	default:
		panic("can't print input!")
	}
}
1045827
func (b *HttpRequest) Debug(isdebug bool) *HttpRequest {
	b.setting.ShowDebug = isdebug
	return b
}