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