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 logInfo(String string) { if (DEBUG) { Log.i(TAG, string); } } }