Skip to content

Commit 582d674

Browse files
committed
Add log for DebugFlagGlobalHandler
1 parent fbb826b commit 582d674

File tree

1 file changed

+2
-0
lines changed
  • content-scope-scripts/content-scope-scripts-impl/src/main/java/com/duckduckgo/contentscopescripts/impl/messaging

1 file changed

+2
-0
lines changed

content-scope-scripts/content-scope-scripts-impl/src/main/java/com/duckduckgo/contentscopescripts/impl/messaging/DebugFlagGlobalHandler.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import com.duckduckgo.js.messaging.api.JsMessage
2323
import com.duckduckgo.js.messaging.api.JsMessageCallback
2424
import com.squareup.anvil.annotations.ContributesMultibinding
2525
import javax.inject.Inject
26+
import logcat.logcat
2627

2728
@ContributesMultibinding(AppScope::class)
2829
class DebugFlagGlobalHandler @Inject constructor() : GlobalContentScopeJsMessageHandlersPlugin {
@@ -34,6 +35,7 @@ class DebugFlagGlobalHandler @Inject constructor() : GlobalContentScopeJsMessage
3435
jsMessageCallback: JsMessageCallback,
3536
) {
3637
if (jsMessage.method == method) {
38+
logcat { "DebugFlagGlobalHandler addDebugFlag: ${jsMessage.featureName}" }
3739
jsMessageCallback.process(
3840
featureName = jsMessage.featureName,
3941
method = jsMessage.method,

0 commit comments

Comments
 (0)