Skip to content

Hide LoggerFactory from public API #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading