[O] Service: Show event class
This commit is contained in:
@@ -60,10 +60,11 @@ class MyService : Service()
|
|||||||
|
|
||||||
private fun add(it: Any) = scope.launch {
|
private fun add(it: Any) = scope.launch {
|
||||||
runCatching {
|
runCatching {
|
||||||
Timber.d("+${it.javaClass.simpleName}")
|
val clas = it.javaClass.simpleName
|
||||||
|
Timber.d("+$clas")
|
||||||
influx add it
|
influx add it
|
||||||
|
|
||||||
notif(text = "Recorded ${count.addAndGet(1)} events!")
|
notif(text = "Recorded ${count.addAndGet(1)} events!\n+$clas")
|
||||||
}.orTrace()
|
}.orTrace()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user