Java tutorial
//package com.java2s; import android.util.Log; public class Main { public static final String TAG = "MagicMode"; private static final boolean INFO_STATHI = true; static public void i(String s) { if (INFO_STATHI == true) Log.i(TAG, s); } }