Skip to content

Commit 075f6ad

Browse files
committed
fix: Log logs with levels over warning to error output stream
1 parent 6942b22 commit 075f6ad

File tree

1 file changed

+1
-1
lines changed
  • revanced-lib/src/main/kotlin/app/revanced/lib/logging

1 file changed

+1
-1
lines changed

revanced-lib/src/main/kotlin/app/revanced/lib/logging/Logger.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ object Logger {
6767
if (loggerName?.startsWith("app.revanced") != true) return@handler
6868

6969
log.toByteArray().let {
70-
if (level.intValue() > Level.INFO.intValue())
70+
if (level.intValue() > Level.WARNING.intValue())
7171
System.err.write(it)
7272
else
7373
System.out.write(it)

0 commit comments

Comments
 (0)