app/src/main/java/com/hdl/photovoltaic/other/HdlLogLogic.java
@@ -7,6 +7,12 @@ */ public class HdlLogLogic { /** * 是否需要打印(true不需要打印) */ public static boolean isDebug = false; private static volatile HdlLogLogic sHdlLogLogic; /** @@ -26,10 +32,16 @@ } public static void print(String tag, String mgs) { if (isDebug) { return; } Log.d(tag, mgs); } public static void print(String mgs) { if (isDebug) { return; } System.out.println(mgs); }