From a3f9e5ce8dce3d86a60a79b85ce44424a612c6fa Mon Sep 17 00:00:00 2001 From: 562935844@qq.com Date: 星期五, 13 五月 2022 14:06:45 +0800 Subject: [PATCH] 提交jar版本 --- HDLSDK/hdl-common/src/main/java/com/hdl/sdk/common/utils/LogUtils.java | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/HDLSDK/hdl-common/src/main/java/com/hdl/sdk/common/utils/LogUtils.java b/HDLSDK/hdl-common/src/main/java/com/hdl/sdk/common/utils/LogUtils.java index 46b1d5d..8f7945d 100644 --- a/HDLSDK/hdl-common/src/main/java/com/hdl/sdk/common/utils/LogUtils.java +++ b/HDLSDK/hdl-common/src/main/java/com/hdl/sdk/common/utils/LogUtils.java @@ -1,7 +1,5 @@ package com.hdl.sdk.common.utils; -import android.util.Log; - /** * Created by Tong on 2021/9/23. */ @@ -21,43 +19,43 @@ public static void d(String tag, String msg) { if (tag != null && msg != null && isEnabled) { - Log.d(TAG, tag + "-- " + msg); + System.out.println(tag + "-- " + msg); } } public static void e(String tag, String msg) { if (tag != null && msg != null && isEnabled) { - Log.e(TAG, tag + "-- " + msg); + System.out.println(tag + "-- " + msg); } } public static void w(String tag, String msg) { if (tag != null && msg != null && isEnabled) { - Log.w(TAG, tag + "-- " + msg); + System.out.println(tag + "-- " + msg); } } public static void v(String tag, String msg) { if (tag != null && msg != null && isEnabled) { - Log.v(TAG, tag + "-- " + msg); + System.out.println(tag + "-- " + msg); } } public static void i(String tag, String msg) { if (tag != null && msg != null && isEnabled) { - Log.i(TAG, tag + "-- " + msg); + System.out.println(tag + "-- " + msg); } } public static void i(String msg) { if (msg != null && isEnabled) { - Log.i(TAG, msg); + System.out.println(msg); } } public static void e(String msg) { if (msg != null && isEnabled) { - Log.e(TAG, msg); + System.out.println(msg); } } } -- Gitblit v1.8.0