Back to project page SIC.
The source code is released under:
MIT License
If you think the Android project SIC 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.sun.imageloader.utils; // w ww .ja v a 2 s . c o m import android.util.Log; public final class L { //check this to enable logging private static boolean SHOULD_LOG = false; public static void shouldLog(boolean shouldLog_){ SHOULD_LOG = shouldLog_; } public static void v(String tag_, String message_){ if(SHOULD_LOG) Log.v(tag_, message_); } public static void e(String tag_, String message_){ if(SHOULD_LOG) Log.e(tag_, message_); } public static void w(String tag_, String message_){ if(SHOULD_LOG) Log.w(tag_, message_); } }