Java tutorial
//package com.java2s; import android.util.Log; public class Main { private static final boolean DEBUG_FLG = false; private static final String TAG = "AppLog"; public static void addLoge(String message) { if (DEBUG_FLG) { Log.e(TAG, message); } } }