Prints better logs for relay subscriptions

This commit is contained in:
Vitor Pamplona
2025-05-06 19:38:13 -04:00
parent b801125ff5
commit be0a559b7d
3 changed files with 3 additions and 4 deletions

View File

@@ -49,10 +49,10 @@ class SubscriptionStats {
}
}
fun printCounter() {
fun printCounter(tag: String) {
eventCounter.forEach {
Log.d(
"STATE DUMP ${this.javaClass.simpleName}",
tag,
"Received Events ${it.value.subscriptionId} ${it.value.eventKind}: ${it.value.counter}",
)
}