Back to project page EvokeFramework.
The source code is released under:
Apache License
If you think the Android project EvokeFramework 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 org.fs.net.evoke.util; /* w ww .jav a2 s. c o m*/ import android.util.Log; /** * Created by Fatih on 27/01/15. * as org.fs.net.evoke.util.LogUtil */ public class LogUtil { public static boolean DEBUG = true; public static void log(String message) { log(Log.DEBUG, message); } public static void log(int priority, String message) { log(priority, getClassTag(), message); } public static void log(int priority, String tag, String message) { if(isLogEnabled()) { Log.println(priority, tag, message); } } protected static boolean isLogEnabled() { return DEBUG; } protected static String getClassTag() { return LogUtil.class.getSimpleName(); } }