From 67bc48f3366e8dcded7ba3768a6667c27915d1d9 Mon Sep 17 00:00:00 2001 From: oshai Date: Wed, 12 Jul 2023 19:09:37 +0300 Subject: [PATCH] add comment --- .../github/oshai/kotlinlogging/slf4j/internal/Slf4jLogger.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/javaMain/kotlin/io/github/oshai/kotlinlogging/slf4j/internal/Slf4jLogger.kt b/src/javaMain/kotlin/io/github/oshai/kotlinlogging/slf4j/internal/Slf4jLogger.kt index 0a8275ce..227c302c 100644 --- a/src/javaMain/kotlin/io/github/oshai/kotlinlogging/slf4j/internal/Slf4jLogger.kt +++ b/src/javaMain/kotlin/io/github/oshai/kotlinlogging/slf4j/internal/Slf4jLogger.kt @@ -8,6 +8,10 @@ import org.slf4j.Logger public abstract class Slf4jLogger : KLogger { + // we don't move more methods to here because if it will appear on stacktrace + // it will break fqcn for class name in location aware loggers + // (tests are also failing when doing this) + protected fun isLoggingEnabledFor( underlyingLogger: Logger, level: Level,