// DebugEnabled returns if debug mode is enabled.
966752
func (d *Daemon) DebugEnabled() bool {
	return option.Config.Opts.IsEnabled(option.Debug)
}
592172
func Debug(v ...interface{}) {
	if DefaultLogger.HasDebug() {
		DefaultLogger.Emit(-1, fmt.Sprint(v...), nil)
	}
}
1140055
func Debug(v ...interface{}) {
	if Severity >= LevelDebug {
		std.Output(5, fmt.Sprint(v...), LevelDebug)
	}
}
820839
func Debug(v ...interface{}) {
	std.Fprint(std.flags, LEVEL_DEBUG, 2, fmt.Sprint(v...), nil)
}
1312936
func Debug(v ...interface{}) {
	f := extractFields(&v)
	std.OutputF(LevelDebug, 2, fmt.Sprint(v...), f)
}
1245779
func DebugReport(err error) string {
	if err == nil {
		return ""
	}
	if wrap, ok := err.(Error); ok {
		return wrap.DebugReport()
	}
	return err.Error()
}
218096
func Debugln(v ...interface{}) {
	std.Fprint(std.flags, LEVEL_DEBUG, 2, fmt.Sprintln(v...), nil)
}
410758
func IsDisabled(err error) bool {
	if err == nil {
		return false
	}
	_, is := err.(ErrDisabled)
	return is
}
16044
func Debug(v ...interface{}) {
	if std.Level >= DebugLevel {
		std.Logger.Print(DebugLevel.String() + fmt.Sprint(v...))
	}
}
752780
func (s *Application) Debug(on bool) *Application {
	s.Core.SetDebug(on)
	return s
}
230315
func (l *Logger) Debug(v ...interface{}) {
	l.Fprint(l.flags, LEVEL_DEBUG, 2, fmt.Sprint(v...), nil)
}
523910
func (dl *DefaultLogger) Debug(message string, params ...interface{}) {
	dl.logger.Debugf(message, params...)
}
963367
func (l *logger) Debug(format string, args ...interface{}) {
	if l.Level >= DEBUG {
		l.log(DEBUG, format, args...)
	}
}
674822
func (l *Logger) Debug(format string, a ...interface{}) {
	l.Log(LevelDebug, format, a...)
}
1051626
func (c *Client) DebugEnableMetrics() (string, error) {
	result := ""
	err := c.call("DebugEnableMetrics", empty, &result)
	if err != nil {
		return "", err
	}
	return result, nil
}
892831
func (l *logger) SetDebug(facility string, enabled bool) {
	l.mut.Lock()
	defer l.mut.Unlock()
	if _, ok := l.debug[facility]; enabled && !ok {
		l.SetFlags(DebugFlags)
		l.debug[facility] = struct{}{}
	} else if !enabled && ok {
		delete(l.debug, facility)
		if len(l.debug) == 0 {
			l.SetFlags(DefaultFlags)
		}
	}
}
285450
func Debugf(format string, args ...interface{}) {
	singltonLock.RLock()
	defer singltonLock.RUnlock()

	blog.Debugf(format, args...)
}