Java tutorial
//package com.java2s; import android.util.Log; public class Main { private static final boolean DEBUG = true; public static void LogI(String iTag, String iMessage) { if (DEBUG) Log.i(iTag, iMessage); } }