blob: 5458ead1e7077ebee428505b2857b849cd8404e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package smoots.udesign.util;
import android.util.Log;
/**
* Util Class for the purpose of debugging.
*
* @author Sun
*/
public class PhoneDebugger {
private static boolean DEBUG = true;
/**
* Add the error exception to the Android log
* @param tag Tag for the log
* @param e Exception error
*/
public static void debug(String tag, Exception e) {
if (DEBUG == true) {
Log.d(tag, e.getMessage());
}
}
}
|