MCPcopy Create free account
hub / github.com/afkT/DevUtils / printLog

Method printLog

lib/DevApp/src/main/java/dev/utils/JCLogUtils.java:84–101  ·  view source on GitHub ↗

最终打印日志方法 ( 全部调用此方法 ) @param logType 日志类型 @param tag 打印 TAG @param message 日志信息

(
            final int logType,
            final String tag,
            final String message
    )

Source from the content-addressed store, hash-verified

82 * @param message 日志信息
83 */
84 private static void printLog(
85 final int logType,
86 final String tag,
87 final String message
88 ) {
89 if (JCLogUtils.sPrint != null) {
90 JCLogUtils.sPrint.printLog(logType, tag, message);
91 }
92
93 if (JUDGE_CONTROL_PRINT_LOG) {
94 // 打印信息
95 if (isEmpty(tag)) {
96 System.out.println(message);
97 } else {
98 System.out.println(tag + " : " + message);
99 }
100 }
101 }
102
103 /**
104 * 处理信息

Callers 4

dTagMethod · 0.95
eTagMethod · 0.95
iTagMethod · 0.95
xmlTagMethod · 0.95

Calls 2

isEmptyMethod · 0.95
printLogMethod · 0.65

Tested by

no test coverage detected