// Emit the message and args at DEBUG level
432869
func (l *intLogger) Debug(msg string, args ...interface{}) {
	l.Log(Debug, msg, args...)
}
322799
func (dl *ConsoleLogger) Debug(message interface{}, params ...interface{}) {
	dl.logger.Debugf(fmt.Sprintf("%s %s", caller(), fmt.Sprint(message)), params...)
}
30476
func (j *FormatWriterJSON) Emit(logger *Logger, level int, message string, extra Map) {
	sb := bufPool.Get()
	defer bufPool.Put(sb)

	flags := logger.Flags()

	sb.WriteByte('{')
	// if time is being logged, handle time as soon as possible
	if flags&(Ltimestamp|Ltai64n) != 0 {
		t := time.Now()
		sb.WriteString(`"time": "`)
		if flags&Ltai64n != 0 {
			writeTimeTAI64N(sb, &t, flags)
		} else {
			writeTime(sb, &t, flags)
		}
		sb.WriteString(`", `)
	}

	if flags&Llevel != 0 {
		sb.WriteString(`"level": "`)
		switch level {
		case -1:
			sb.WriteByte('D')
		case 1:
			sb.WriteByte('F')
		default:
			sb.WriteByte('I')
		}
		sb.WriteString(`", `)
	}

	if flags&(Lshortfile|Llongfile) != 0 {
		_, file, line, ok := runtime.Caller(3)
		if !ok {
			file = "???"
			line = 0
		}

		if flags&Lshortfile != 0 {
			short := file
			for i := len(file) - 1; i > 0; i-- {
				if file[i] == '/' {
					short = file[i+1:]
					break
				}
			}
			file = short
		}

		sb.WriteString(`"caller": "`)
		sb.WriteString(file)
		sb.WriteByte(':')
		sb.AppendIntWidth(line, 0)
		sb.WriteString(`", `)
	}

	sb.WriteString(`"msg": "`)
	encodeStringJSON(sb, message)
	sb.WriteByte('"')

	if extra != nil && len(extra) > 0 {
		sb.WriteString(`, "extra": {`)
		encodeLogMapJSON(sb, extra)
		sb.WriteByte('}')
	}

	sb.WriteByte('}')
	sb.WriteByte('\n')
	sb.WriteTo(logger)
}
244199
func (l *Logger) Debugf(format string, v ...interface{}) {
	if l.HasDebug() {
		l.Emit(-1, fmt.Sprintf(format, v...), nil)
	}
}
519906
func Debug(format string, v ...interface{}) {
	log.Debug(fmt.Sprintf(format, v...))
}
501971
func Debugf(format string, args ...interface{}) {
	if env := os.Getenv(EnvDebug); len(env) != 0 {
		log.Printf("[DEBUG] "+format+"\n", args...)
	}
}
1115210
func (l logf) Debugf(s string, args ...interface{}) {
	l.log.Debug(s, args...)
}
243111
func (writer *SocketWriter) Debugf(format string, args ...interface{}) {
	if nil == writer.writer || DEBUG < writer.level {
		return
	}

	writer.writef(DEBUG, format, args...)
}
484200
func (logger *Logger) Debugf(format string, args ...interface{}) {
	logger.log(DEBUG, fmt.Sprintf(format, args...))
}
1140055
func Debug(v ...interface{}) {
	if Severity >= LevelDebug {
		std.Output(5, fmt.Sprint(v...), LevelDebug)
	}
}
302182
func Emit(a app.App, event int, data interface{}) {
	a.ArgsScope().Trigger(event, nil)
	a.ConfigScope().Trigger(event, nil)
	a.EngineScope().Trigger(event, nil)
	a.CommandScope().Trigger(event, nil)
	a.DependencyScope().Trigger(event, nil)
	a.FilespaceScope().Trigger(event, nil)
	a.AppScope().Trigger(event, nil)
}
945861
func Debug(message string, fields ...interface{}) uint64 {
	return DefaultLogger().Event(event.Debug, message, fields...)
}
530119
func (log *impl) Debug(msg string) {
	log.w.logAtLevel(syslog.LOG_DEBUG, msg)
}
930973
func Debug(v ...interface{}) {
	if Logger.State() == true {
		Logger.Output(2, fmt.Sprint(v...))
	}
}
1318142
func (l logger) Debug(message string, data ...interface{}) {
	for _, sink := range l.sinks {
		sink.Log(DEBUG, l.toByteArray(message, data...))
	}
}
1154200
func (writer *MultiWriter) Debugf(format string, args ...interface{}) {
	_, ok := writer.writers[DEBUG]
	if !ok || DEBUG < writer.level {
		return
	}

	writer.writef(DEBUG, format, args...)
}
1312936
func Debug(v ...interface{}) {
	f := extractFields(&v)
	std.OutputF(LevelDebug, 2, fmt.Sprint(v...), f)
}