Java tutorial
//package com.java2s; //License from project: Open Source License import java.util.Locale; import android.util.Log; public class Main { public static Boolean DEBUG_OUTPUTS_ENABLED = true; public static String ID = "com.distriqt.EXTENSION"; public static void log(String TAG, String message, Object... args) { if (DEBUG_OUTPUTS_ENABLED) Log.d(ID, TAG + "::" + String.format(Locale.UK, message, args)); } }