Java tutorial
//package com.java2s; import android.util.Log; public class Main { private final static String TAG = "Bigdog Say:"; public final static boolean DEBUG = true; public static void e(Throwable e) { if (!DEBUG) { return; } Log.e(TAG, e.getMessage(), e); } }