Back to project page ELM327.
The source code is released under:
Apache License
If you think the Android project ELM327 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.grabtaxi.utility; // ww w. ja va2s . c o m /** * Created by admin on 12/29/14 */ public class MyLog { private static boolean LOG = true; public static void i(String tag, String string) { if (LOG) { android.util.Log.i(tag, string); } } public static void e(String tag, String string) { // if(LOG) android.util.Log.e(tag, string); } public static void e(String tag, String string, Throwable tr) { // if(LOG) android.util.Log.e(tag, string, tr); } public static void d(String tag, String string) { if (LOG) { android.util.Log.d(tag, string); } } public static void v(String tag, String string) { if (LOG) { android.util.Log.v(tag, string); } } public static void w(String tag, String string) { if (LOG) { android.util.Log.w(tag, string); } } }