log Exception - Android App

Android examples for App:Log

Description

log Exception

Demo Code


//package com.java2s;

import android.util.Log;

public class Main {
    public static void logException(String tag, Throwable ex) {
        Log.e(tag, ex.getLocalizedMessage(), ex);
    }/*from   w ww.j a  v  a 2 s.  co  m*/
}

Related Tutorials