Commit 7fcb28d3 authored by Brieuc Viel's avatar Brieuc Viel
Browse files

Log updated

parent d707204b
......@@ -38,7 +38,11 @@ public final class Log {
TAG = tag;
isLogEnabled = enable;
}
public static void setEnableLog(boolean enable){
isLogEnabled = enable;
}
@SuppressWarnings(value="all")
private static boolean isLoggable(int level) {
return isLogEnabled && (!useIsLoggable || android.util.Log.isLoggable(TAG, level));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment