fix: Log logs with levels over warning to error output stream

This commit is contained in:
oSumAtrIX 2023-09-20 05:03:26 +02:00
parent 6942b22a68
commit 075f6ad565
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ object Logger {
if (loggerName?.startsWith("app.revanced") != true) return@handler
log.toByteArray().let {
if (level.intValue() > Level.INFO.intValue())
if (level.intValue() > Level.WARNING.intValue())
System.err.write(it)
else
System.out.write(it)