public static int wtf(String tag, String msg) in Android 2.2

I just found this and I love it :mrgreen:

public static int wtf (String tag, String msg)
Since: API Level 8

What a Terrible Failure: Report a condition that should never happen. The error will always be logged at level ASSERT with the call stack. Depending on system configuration, a report may be added to the DropBoxManager and/or the process may be terminated immediately with an error dialog.
tag Used to identify the source of a log message.
msg The message you would like logged.

Leave a Reply