Example #1
0
 /**
  * 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";
 }
Example #2
0
 /**
  * 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);
 }
Example #3
0
 /**
  * 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);
 }
Example #4
0
 /** Send a WARN message. */
 public static void w(String tag, Object... messages) {
   log(WARN, tag, messages);
 }
Example #5
0
 /** Send a VERBOSE message. */
 public static void v(String tag, Object... messages) {
   log(VERBOSE, tag, messages);
 }
Example #6
0
 /** Send a INFO message. */
 public static void i(String tag, Object... messages) {
   log(INFO, tag, messages);
 }
Example #7
0
 /** Send a ERROR message. */
 public static void e(String tag, Object... messages) {
   log(ERROR, tag, messages);
 }
Example #8
0
 /** Send a DEBUG message. */
 public static void d(String tag, Object... messages) {
   log(DEBUG, tag, messages);
 }