[O] Service: Show event class

This commit is contained in:
Azalea Gui
2023-01-24 17:46:16 -05:00
parent a0b0d035b7
commit fedd26e377
@@ -60,10 +60,11 @@ class MyService : Service()
private fun add(it: Any) = scope.launch {
runCatching {
Timber.d("+${it.javaClass.simpleName}")
val clas = it.javaClass.simpleName
Timber.d("+$clas")
influx add it
notif(text = "Recorded ${count.addAndGet(1)} events!")
notif(text = "Recorded ${count.addAndGet(1)} events!\n+$clas")
}.orTrace()
}