kopia lustrzana https://github.com/vitorpamplona/amethyst
Only shows debug relay writes in DEBUG
rodzic
fb5f1e738b
commit
eda4569b64
|
@ -512,9 +512,11 @@ class Relay(
|
||||||
it.send(str)
|
it.send(str)
|
||||||
RelayStats.addBytesSent(url, str.bytesUsedInMemory())
|
RelayStats.addBytesSent(url, str.bytesUsedInMemory())
|
||||||
|
|
||||||
|
if (BuildConfig.DEBUG) {
|
||||||
Log.d("Relay", "Relay send $url $str")
|
Log.d("Relay", "Relay send $url $str")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fun close(subscriptionId: String) {
|
fun close(subscriptionId: String) {
|
||||||
writeToSocket("""["CLOSE","$subscriptionId"]""")
|
writeToSocket("""["CLOSE","$subscriptionId"]""")
|
||||||
|
|
Ładowanie…
Reference in New Issue