Skip to content

Commit d753a9f

Browse files
committed
fix log level check for #276
1 parent 9fb169e commit d753a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jvmMain/kotlin/io/github/oshai/slf4j/internal/LocationIgnorantKLogger.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ internal class LocationIgnorantKLogger(override val underlyingLogger: Logger) :
238238
}
239239

240240
override fun warn(msg: String?) {
241-
if (isTraceEnabled) {
241+
if (isWarnEnabled) {
242242
underlyingLogger.warn(msg)
243243
}
244244
}

0 commit comments

Comments
 (0)