/** * Send an ASSERT message. * * <p>Report a condition that should never happen. A false assertion will also be triggered if * assertions are enabled. Android and the assertion method calls this "What a Terrible Failure" * but you may call it by other names if you wish ;). */ public static void wtf(String tag, Object... messages) { log(ASSERT, tag, messages); assert false : "What a Terrible Failure Report we has here"; }
/** * Send a TRACE message. * * <p>This is intended as a log level more verbose than a DEBUG message, yet more specific than a * VERBOSE message. It's purpose is for tracing control flow and conditions through the log. It is * best combined with a LogSink set to the specific tag(s) being traced. * * <p>The name is taken from the Bourne shell option called 'xtrace'. */ public static void xtrace(String tag, Object... messages) { log(TRACE, tag, messages); }
/** * Send a TEST message. * * <p>This is intended as a log level for automated unit testing. Use this outside of such at your * own risk :-o. */ public static void test(String tag, Object... messages) { log(TEST, tag, messages); }
/** Send a WARN message. */ public static void w(String tag, Object... messages) { log(WARN, tag, messages); }
/** Send a VERBOSE message. */ public static void v(String tag, Object... messages) { log(VERBOSE, tag, messages); }
/** Send a INFO message. */ public static void i(String tag, Object... messages) { log(INFO, tag, messages); }
/** Send a ERROR message. */ public static void e(String tag, Object... messages) { log(ERROR, tag, messages); }
/** Send a DEBUG message. */ public static void d(String tag, Object... messages) { log(DEBUG, tag, messages); }