Delegates to the {@link Log#warn(Object)} method of the underlying
{@link Log} instance.

<p>
However, this form avoids superfluous object creation when the logger is disabled
for level WARN.
</p>

@param format
the format string
@param arg
the argument
12049
@Override
    public void warn(String format, Object arg) {
        if (logger.isWarnEnabled()) {
            FormattingTuple ft = MessageFormatter.format(format, arg);
            logger.warn(ft.getMessage(), ft.getThrowable());
        }
    }
783299
public static void warn(Throwable e, String format, Object... arguments) {
		warn(LogFactory.indirectGet(), e, StringKit.format(format, arguments));
	}
776919
public static void logPrintf(String format, String... v) {
        if (enableLog) {
            String tmp = String.format(format, (Object[]) v);
            logger.log(Level.INFO, tmp);
        }
    }
321086
public void warn(String format, Object arg) {
        formatAndLog(LOG_LEVEL_WARN, format, arg, null);
    }
886910
public void warn(Object o) {
        if (o instanceof Throwable) {
            logger.warn(o, (Throwable) o);
        } else {
            logger.warn(o);
        }
    }
226211
public void warn( Element e, String msg, Object... args ) {
        messager.printMessage( Diagnostic.Kind.WARNING, String.format( msg, args ), e );
    }
1162892
public void warn(Throwable throwable, String msg, Object[] argArray) {
		logIfEnabled(Level.WARNING, throwable, msg, UNKNOWN_ARG, UNKNOWN_ARG, UNKNOWN_ARG, argArray);
	}
728696
public void info(String format, Object arg1, Object arg2) {
        formatAndLog(LOG_LEVEL_INFO, format, arg1, arg2);
    }
1098991
public final void warn(Object message, Throwable t) {
        if (isLevelEnabled(LOG_LEVEL_WARN)) {
            log(LOG_LEVEL_WARN, message, t);
        }
    }
386070
public void warnf(String format, Object param1) {
        if (isEnabled(Level.WARN)) {
            doLogf(Level.WARN, FQCN, format, new Object[] { param1 }, null);
        }
    }
718175
public void warnv(String format, Object param1, Object param2, Object param3) {
        if (isEnabled(Level.WARN)) {
            doLog(Level.WARN, FQCN, format, new Object[] { param1, param2, param3 }, null);
        }
    }
272567
public static void log(String format, Object...args) {
    System.out.println(String.format(format, args));
  }
805354
private void println(int logLevel, String format, Object... args) {
    if (logLevel < logConfiguration.logLevel) {
      return;
    }
    printlnInternal(logLevel, formatArgs(format, args));
  }
352848
public static void error(Log log, Throwable e, String format, Object... arguments) {
		if (false == log(log, Level.ERROR, e, format, arguments)) {
			log.error(e, format, arguments);
		}
	}
1244621
public void warn( Marker marker, String format, Object arg )
    {
        if( m_delegate.isWarnEnabled() )
        {
            FormattingTuple tuple = MessageFormatter.format( format, arg );
            setMDCMarker( marker );
            m_delegate.warn( tuple.getMessage(), tuple.getThrowable() );
            resetMDCMarker();
        }
    }
449761
public static void error(Log log, String format, Object... arguments) {
		error(log, null, format, arguments);
	}
406438
public static void debug(String format, Object... arguments) {
		debug(LogFactory.get(CallerUtil.getCallerCaller()), format, arguments);
	}