Back to project page cnBeta.
The source code is released under:
Apache License
If you think the Android project cnBeta 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.guest.cnbeta.util; /* w w w . java 2 s. c o m*/ import android.util.Log; public class T { static String AppName = "cnBeta"; static Boolean isTesting = false; public static void i(String string) { if (isTesting) { Log.i(AppName, string); } } public static void w(String string) { if (isTesting) { Log.e(AppName, string); } } public static void e(Exception exception) { if (isTesting) { Log.e(AppName, exception.toString()); } } public static void d(String string) { if (isTesting) { Log.d(AppName, string); } } public static void a(int num) { if (isTesting) { Log.d(AppName, Integer.toString(num)); } } }