Warn等级日志，小于Error

@param log 日志对象
@param e 需在日志中堆栈打印的异常
@param format 格式文本，{} 代表变量
@param arguments 变量对应的参数
964945
public static void warn(Log log, Throwable e, String format, Object... arguments) {
		if (false == log(log, Level.WARN, e, format, arguments)) {
			log.warn(e, format, arguments);
		}
	}
599327
public void error(String format, Object arg1, Object arg2) {
        formatAndLog(LOG_LEVEL_ERROR, format, arg1, arg2);
    }
515473
public void log(int logLevel, String format, Object... args) {
    println(logLevel, format, args);
  }
1169914
public static void logError(final Logger logger, final Error e)
	{
		logger.logError(Level.ERROR, "Unexpected Error", e);
	}
1206915
public void v(String format, Object... args) {
    println(LogLevel.VERBOSE, format, args);
  }
388656
@Override
    public void trace(String format, Object arg) {
        if (isTraceEnabled()) {
            FormattingTuple ft = MessageFormatter.format(format, arg);
            logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft
                    .getMessage(), ft.getThrowable());
        }
    }
984691
public void errorf(Throwable t, String format, Object... params) {
        doLogf(Level.ERROR, FQCN, format, params, t);
    }
1090789
public static void error(String msg, Object... args) {
		String tag = generateTag();
		if (!"".equals(tag)) {
			if (args.length > 0) {
				Log.e(tag, String.format(msg, args));
			} else {
				Log.e(tag, msg);

			}
		}
	}
56933
public void errorv(String format, Object... params) {
        doLog(Level.ERROR, FQCN, format, params, null);
    }
12049
@Override
    public void warn(String format, Object arg) {
        if (logger.isWarnEnabled()) {
            FormattingTuple ft = MessageFormatter.format(format, arg);
            logger.warn(ft.getMessage(), ft.getThrowable());
        }
    }
1080094
public static void warning(Logger log, String format, Object... args) {
        if (log.isLoggable(Level.WARNING))
            log.warning(String.format(format, args));
    }
1195488
public static void info(Log log, String format, Object... arguments) {
		if (false == log(log, Level.INFO, null, format, arguments)) {
			log.info(format, arguments);
		}
	}
299603
public void d(String format, Object... args) {
    println(LogLevel.DEBUG, format, args);
  }
585000
public void logf(Level level, String format, Object... params) {
        doLogf(level, FQCN, format, params, null);
    }
226211
public void warn( Element e, String msg, Object... args ) {
        messager.printMessage( Diagnostic.Kind.WARNING, String.format( msg, args ), e );
    }
322936
@Override
    public void debug(String format, Object arg) {
        if (logger.isDebugEnabled()) {
            FormattingTuple ft = MessageFormatter.format(format, arg);
            logger.debug(ft.getMessage(), ft.getThrowable());
        }
    }
867359
private static void  warn(String format, Object... args)
   {
      Log.w(TAG, String.format(format, args));
   }