[6.4.0][全量日志] 将VLOG改成Logger(暂时)
This commit is contained in:
@@ -4,6 +4,7 @@ import android.os.Handler
|
||||
import android.os.HandlerThread
|
||||
import android.util.Log
|
||||
import com.apm.insight.log.VLog
|
||||
import com.mogo.eagle.core.utilcode.mogo.logger.Logger
|
||||
|
||||
class VLogUtils {
|
||||
|
||||
@@ -22,7 +23,7 @@ class VLogUtils {
|
||||
handler.post {
|
||||
runCatching {
|
||||
handleMsg("time:$time, msg:$msg", max).forEach {
|
||||
VLog.d(tag, it)
|
||||
Logger.d(tag, it)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -34,7 +35,7 @@ class VLogUtils {
|
||||
handler.post {
|
||||
runCatching {
|
||||
handleMsg("time:$time, msg:$msg", max).forEach {
|
||||
VLog.v(tag, it)
|
||||
Logger.v(tag, it)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -46,7 +47,7 @@ class VLogUtils {
|
||||
handler.post {
|
||||
runCatching {
|
||||
handleMsg("time:$time, msg:$msg", max).forEach {
|
||||
VLog.w(tag, it)
|
||||
Logger.w(tag, it)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -58,7 +59,7 @@ class VLogUtils {
|
||||
handler.post {
|
||||
runCatching {
|
||||
handleMsg("time:$time, msg:$msg", max).forEach {
|
||||
VLog.e(tag, it)
|
||||
Logger.e(tag, it)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user