Java tutorial
//package com.java2s; //License from project: Apache License import android.util.Log; public class Main { private static final boolean LOGGING = true; private static final String TAG = "RequestTask"; public static void setLog(String message) { if (LOGGING) Log.d(TAG, message); } }