Back to project page android-times-square.
The source code is released under:
Apache License
If you think the Android project android-times-square listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.squareup.timessquare; /* ww w . j ava 2s . c o m*/ import android.util.Log; /** Log utility class to handle the log tag and DEBUG-only logging. */ final class Logr { public static void d(String message) { if (BuildConfig.DEBUG) { Log.d("TimesSquare", message); } } public static void d(String message, Object... args) { if (BuildConfig.DEBUG) { d(String.format(message, args)); } } }