/** * Log an object with level {@link LogLevel#INFO}. * * @param object the object to log * @see LogConfiguration.Builder#addObjectFormatter(Class, ObjectFormatter) * @since 1.1.0 */ public static void i(Object object) { assertInitialization(); sLogger.i(object); }
/** * Convenience of {@link #build()} and {@link Logger#i(Object)}. * * @since 1.1.0 */ public void i(Object object) { build().i(object); }
/** * Log a message and a throwable with level {@link LogLevel#INFO}. * * @param msg the message to log * @param tr the throwable to be log */ public static void i(String msg, Throwable tr) { assertInitialization(); sLogger.i(msg, tr); }
/** * Log a message with level {@link LogLevel#INFO}. * * @param msg the message to log */ public static void i(String msg) { assertInitialization(); sLogger.i(msg); }
/** * Convenience of {@link #build()} and {@link Logger#i(Object[])}. * * @since 1.4.0 */ public void i(Object[] array) { build().i(array); }
/** * Convenience of {@link #build()} and {@link Logger#i(String)}. */ public void i(String msg) { build().i(msg); }
/** * Convenience of {@link #build()} and {@link Logger#i(String, Throwable)}. */ public void i(String msg, Throwable tr) { build().i(msg, tr); }
/** * Convenience of {@link #build()} and {@link Logger#i(String, Object...)}. */ public void i(String format, Object... args) { build().i(format, args); }
/** * Log an array with level {@link LogLevel#INFO}. * * @param array the array to log */ public static void i(Object[] array) { assertInitialization(); sLogger.i(array); }
/** * Log a message with level {@link LogLevel#INFO}. * * @param format the format of the message to log * @param args the arguments of the message to log */ public static void i(String format, Object... args) { assertInitialization(); sLogger.i(format, args); }
/** * @deprecated compatible with {@link android.util.Log#i(String, String)} */ public static void i(String tag, String msg) { tag(tag).build().i(msg); }
/** * @deprecated compatible with {@link android.util.Log#i(String, String, Throwable)} */ public static void i(String tag, String msg, Throwable tr) { tag(tag).build().i(msg, tr); }
break; case LogLevel.INFO: logger.i(MESSAGE); break; case LogLevel.WARN:
logger.i(MESSAGE); AssertUtil.assertNoLog(logsContainer); logsContainer.clear(); logger.v(MESSAGE); logger.d(MESSAGE); logger.i(MESSAGE); logger.w(MESSAGE); logger.e(MESSAGE); assertLog(DEBUG, DEFAULT_TAG, MESSAGE); logsContainer.clear(); logger.i(MESSAGE); assertLog(INFO, DEFAULT_TAG, MESSAGE); logsContainer.clear();