diff --git a/library/api/library.api b/library/api/library.api index 7568b051..882dcdfc 100644 --- a/library/api/library.api +++ b/library/api/library.api @@ -189,20 +189,6 @@ public final class com/gabrielfeo/develocity/api/extension/BuildsApiExtensionsKt public static synthetic fun getGradleAttributesFlow$default (Lcom/gabrielfeo/develocity/api/BuildsApi;JLjava/lang/String;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Integer;Lkotlinx/coroutines/CoroutineScope;Ljava/util/List;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; } -public abstract interface class com/gabrielfeo/develocity/api/internal/LoggerFactory { - public abstract fun newLogger (Lkotlin/reflect/KClass;)Lorg/slf4j/Logger; -} - -public final class com/gabrielfeo/develocity/api/internal/RealLoggerFactory : com/gabrielfeo/develocity/api/internal/LoggerFactory { - public static final field Companion Lcom/gabrielfeo/develocity/api/internal/RealLoggerFactory$Companion; - public static final field LOG_LEVEL_SYSTEM_PROPERTY Ljava/lang/String; - public fun (Lcom/gabrielfeo/develocity/api/Config;)V - public fun newLogger (Lkotlin/reflect/KClass;)Lorg/slf4j/Logger; -} - -public final class com/gabrielfeo/develocity/api/internal/RealLoggerFactory$Companion { -} - public final class com/gabrielfeo/develocity/api/internal/auth/HttpBearerAuth : okhttp3/Interceptor { public fun ()V public fun (Ljava/lang/String;Ljava/lang/String;)V diff --git a/library/src/main/kotlin/com/gabrielfeo/develocity/api/internal/LoggerFactory.kt b/library/src/main/kotlin/com/gabrielfeo/develocity/api/internal/LoggerFactory.kt index af704510..451aa606 100644 --- a/library/src/main/kotlin/com/gabrielfeo/develocity/api/internal/LoggerFactory.kt +++ b/library/src/main/kotlin/com/gabrielfeo/develocity/api/internal/LoggerFactory.kt @@ -4,11 +4,11 @@ import com.gabrielfeo.develocity.api.Config import org.slf4j.Logger import kotlin.reflect.KClass -interface LoggerFactory { +internal interface LoggerFactory { fun newLogger(cls: KClass<*>): Logger } -class RealLoggerFactory( +internal class RealLoggerFactory( private val config: Config, ) : LoggerFactory {