Search code examples
androidandroid-volleyandroid-log

What is the meaning of "wtf" in the Android Volley?


I encountered the method

 public static void wtf(String format, Object... args) {
        Log.wtf(TAG, buildMessage(format, args));
    }



public static int wtf(String tag, String msg, Throwable tr) {
        throw new RuntimeException("Stub!");
    }

When I was having a closer look on the Android Volley, However this method is used to log the error in the Volley By the Library Developers but is this making any other sense other than the usual ones? I am not sure if a programmer should have such naming conventions?


Solution

  • Quoting from developer.android.com:

    What a Terrible Failure: Report a condition that should never happen. The error will always be logged at level ASSERT with the call stack.