mirror of
https://github.com/revanced/revanced-cli.git
synced 2025-01-22 08:57:32 +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
|
if (loggerName?.startsWith("app.revanced") != true) return@handler
|
||||||
|
|
||||||
log.toByteArray().let {
|
log.toByteArray().let {
|
||||||
if (level.intValue() > Level.INFO.intValue())
|
if (level.intValue() > Level.WARNING.intValue())
|
||||||
System.err.write(it)
|
System.err.write(it)
|
||||||
else
|
else
|
||||||
System.out.write(it)
|
System.out.write(it)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user