Java tutorial
//package com.java2s; import android.util.Log; public class Main { public static boolean DEBUG_MODE = false; public static void DebugGeneral(String tag, String message) { if (DEBUG_MODE) { Log.d(tag, message); } } }