feat: Only log relevant records

This commit is contained in:
oSumAtrIX
2023-09-29 19:40:02 +02:00
parent 8ce266bc94
commit 15b8613d3c

View File

@ -180,8 +180,11 @@ class MainActivity : FlutterActivity() {
}
object : java.util.logging.Handler() {
override fun publish(record: LogRecord) =
override fun publish(record: LogRecord) {
if (record.loggerName?.startsWith("app.revanced") != true) return
updateProgress(-1.0, "", record.message)
}
override fun flush() = Unit
override fun close() = flush()