// Warn outputs a warning log using the default logger.
// fields can be nil.
175120
func Warn(msg string, fields map[string]interface{}) error {
	return defaultLogger.Log(LvWarn, msg, fields)
}
585281
func (l *DefaultLogger) Warn(msg string, args ...interface{}) error {
	if l.IsWarn() {
		defer l.Log(LevelWarn, msg, args)

		for _, arg := range args {
			if err, ok := arg.(error); ok {
				return err
			}
		}

		return nil
	}
	return nil
}
1009899
func (l *Logger) Warn(args ...interface{}) {
	kitlevel.Warn(l.Log).Log(args...)
}
470248
func (l *Logger) Warning(args ...interface{}) {
	l.logf(l.app, logLevelWarning, "", true, args...)
}
1018580
func (s *logger) Warn(description string, keysAndValues ...interface{}) {
	s.warn(1, description, keysAndValues...)
}
557509
func Warn(ctx context.Context, msg string, logCtx ...interface{}) {
	FromContext(ctx).Warn(msg, logCtx...)
}
822198
func (logs *Logs) Warn(v ...interface{}) {
	logs.WARN().Output(2, fmt.Sprintln(v...))
}
164136
func (l *Logger) Warn(a ...interface{}) {
	l.logAll(optWarn, fmt.Sprint(a...))
}
100539
func (l *Logger) Warn(msg string, fields map[string]interface{}) error {
	return l.Log(LvWarn, msg, fields)
}
433024
func (logger *Logger) Warn(args ...interface{}) {
	logger.log(WARN, fmt.Sprint(args...))
}
1128144
func (logs *Logs) Warnf(format string, v ...interface{}) {
	logs.WARN().Output(2, fmt.Sprintf(format, v...))
}
157200
func (me *Logger) Warnf(format string, v ...interface{}) {
	me.printf(Pwarn, format, v...)
}
1047733
func (l *Logger) Warn(v ...interface{}) {
	if l.getLevel() <= Warning {
		l.getHandler().Log(l.name, Warning, fmt.Sprint(v...), 1)
	}
}
509724
func (l *Logger) Warning(message string, props Properties) {
	l.log(Warning, message, props)
}
862627
func (bl *BeeLogger) Warning(format string, v ...interface{}) {
	if LevelWarning > bl.level {
		return
	}
	msg := fmt.Sprintf("[W] "+format, v...)
	bl.writerMsg(LevelWarning, msg)
}
22406
func Warn(format string, v ...interface{}) string {
	return output(LevelWarn, fmt.Sprintf(format, v...), loggerCodeDepth)
}
147542
func (logger *Logger) Warnf(format string, args ...interface{}) {
	if logger.std.Level >= lg.WarnLevel {
		logger.header(1).Warnf(format, args...)
	}
}