Set tag for root service

This commit is contained in:
vvb2060 2022-05-07 17:30:46 +08:00 committed by John Wu
parent 97135879a1
commit 0b8577d02b

View File

@ -22,7 +22,11 @@ class RootUtils(stub: Any?) : RootService() {
private lateinit var am: ActivityManager
constructor() : this(null) {
Timber.plant(Timber.DebugTree())
Timber.plant(object : Timber.DebugTree() {
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
super.log(priority, "Magisk", message, t)
}
})
}
override fun onCreate() {