Commit 0b8577d0 authored by vvb2060's avatar vvb2060 Committed by John Wu

Set tag for root service

parent 97135879
...@@ -22,7 +22,11 @@ class RootUtils(stub: Any?) : RootService() { ...@@ -22,7 +22,11 @@ class RootUtils(stub: Any?) : RootService() {
private lateinit var am: ActivityManager private lateinit var am: ActivityManager
constructor() : this(null) { 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() { override fun onCreate() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment