// Debug returns a logger that includes a Key/DebugValue pair.
969442
func Debug(logger log.Logger) log.Logger {
	return log.WithPrefix(logger, Key(), DebugValue())
}
530119
func (log *impl) Debug(msg string) {
	log.w.logAtLevel(syslog.LOG_DEBUG, msg)
}
983936
func (e *Errors) Debug(format string, a ...interface{}) error {
	return e.add(Debug, format, a...)
}
623468
func (c *context) Debug(format string, args ...interface{}) {
	c.logger.Debug(c.prefixFormat()+format, args...)
}
775447
func (c *Config) Debug() {
	for key, val := range *c {
		log.Debugf("config[%s] = %v", key, val)
	}
}
236588
func (s *SimpleLogger) Debug(v ...interface{}) {
	if s.level <= core.LOG_DEBUG {
		s.DEBUG.Output(2, fmt.Sprint(v...))
	}
	return
}
632484
func (s *SyslogLogger) Debug(v ...interface{}) {
	s.w.Debug(fmt.Sprint(v...))
}
1173317
func DebugC(correlationKey string, message string, data Data) {
	if data == nil {
		data = Data{}
	}
	if len(message) > 0 {
		data["message"] = message
	}
	Event("debug", correlationKey, data)
}
1318142
func (l logger) Debug(message string, data ...interface{}) {
	for _, sink := range l.sinks {
		sink.Log(DEBUG, l.toByteArray(message, data...))
	}
}
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!")
	}
}
802877
func (b *simple) Debug(msg ...interface{}) {
	stdlog.Printf("[DEBUG] %s %s", fmt.Sprint(msg...), pretty(b.fields))
}
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)
	}
}
1285063
func (l *Logger) Debug(message string, props Properties) {
	l.log(Debug, message, props)
}
389269
func (l *Logger) Debuge(err error) {
	if l.getLevel() <= Debug && err != nil {
		l.getHandler().Log(l.name, Debug, err.Error(), 1)
	}
}
404570
func Debug(b bool) Option {
	return func(p *parser) Option {
		old := p.debug
		p.debug = b
		return Debug(old)
	}
}
158735
func LogDebug(w io.Writer) {
	var initialized bool
	initDebugLoggerOnce.Do(func() {
		debugLogger = &logger{
			w: w,
		}
		initialized = true
	})

	if !initialized && debugLogger != nil {
		panic("LogDebug called multiple times. Can only be called once")
	}
}
333030
func Debug() func(*Config) error {
	return func(c *Config) error {
		c.debug = true
		return nil
	}
}