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