From 7718b8276365c2f15c386b7b2d607b772f089f69 Mon Sep 17 00:00:00 2001 From: Till Krempel Date: Fri, 28 Jul 2023 11:00:40 +0200 Subject: [PATCH] Made log tag protected as requested in issue 477 --- timber/src/main/java/timber/log/Timber.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timber/src/main/java/timber/log/Timber.kt b/timber/src/main/java/timber/log/Timber.kt index 85a551b26..d8feae28a 100644 --- a/timber/src/main/java/timber/log/Timber.kt +++ b/timber/src/main/java/timber/log/Timber.kt @@ -22,7 +22,7 @@ class Timber private constructor() { internal val explicitTag = ThreadLocal() @get:JvmSynthetic // Hide from public API. - internal open val tag: String? + protected open val tag: String? get() { val tag = explicitTag.get() if (tag != null) {