Java tutorial
//package com.java2s; import android.util.Log; public class Main { private static boolean DEBUG = true; private static String TAG = "S-Browser"; public static void logDebug(String string) { if (DEBUG) { Log.d(TAG, string); } } }