Why do you want to do this? If you want to log an error that doesn't cause
your app to crash, use Log.w(). I generally recommend if you have a fatal
error, using Log.e() (though it is your responsibility to crash or whatever
the fatal error behavior is after that).
If you don't want the behavior of Log.wtf() (which is partly that it can
optional crash your app based on the setting), then don't use it. The only
reason to use it that I can think of is because you want the behavior it
provides. Is there some other reason you want to call that specific method?
Android framework engineer
Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. All such
questions should be posted on public forums, where I and others can see and