Java tutorial
//package com.java2s; import android.util.Log; public class Main { private static boolean switches = true; public static void e(String tag, String msg) { if (switches) { Log.e(tag, msg); } } }