MCPcopy Create free account
hub / github.com/OAID/TengineKit / MyLogger

Class MyLogger

sample/FaceDemo/app/src/main/java/com/faceDemo/utils/MyLogger.java:5–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import android.util.Log;
4
5public class MyLogger {
6 private static boolean isDebug = true;
7
8 public static void logDebug(String tag ,Object content)
9 {
10 if(isDebug)
11 {
12 Log.d(tag,"------------------------- "+content);
13 }
14 }
15
16 public static void logInfo(String tag ,String content)
17 {
18 if(isDebug)
19 {
20 Log.i(tag,"------------------------- "+content);
21 }
22 }
23
24 public static void logError(String tag ,String content)
25 {
26 if(isDebug)
27 {
28 Log.e(tag,"------------------------- "+content);
29 }
30 }
31}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected