mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-24 11:05:49 +01:00
fix: Log logs with levels over warning to error output stream
This commit is contained in:
parent
6942b22a68
commit
075f6ad565
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user