Android examples for android.util:Log
log Exception
import android.util.Log; public class Main { public static void logException(String tag, Throwable ex) { Log.e(tag, ex.getLocalizedMessage(), ex); }/*from w w w . ja v a2 s .c o m*/ }