Skip to content

Commit

Permalink
Hide LoggerFactory from public API (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfeo authored Sep 5, 2024
1 parent 70a4410 commit 8c7f5d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
14 changes: 0 additions & 14 deletions library/api/library.api
Original file line number Diff line number Diff line change
Expand Up @@ -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 <init> (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 <init> ()V
public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit 8c7f5d1

Please sign in to comment.