Java tutorial
//package com.java2s; //License from project: Apache License import android.util.Log; public class Main { private static boolean isDebugging = false; public static void v(String tag, String msg) { v(tag, msg, null); } public static void v(String tag, String msg, Throwable tr) { if (isDebugging) { Log.v(tag, msg, tr); } } }