Reduce logspam

This commit is contained in:
darken
2022-01-20 16:06:47 +01:00
parent 7df24f9c76
commit 65eb92dcb1
@@ -31,7 +31,7 @@ class PopUpReaction @Inject constructor(
.setupCommonEventHandlers(TAG) { "monitor" }
.map { (previous, current) ->
if (previous is DualApplePods? && current is DualApplePods) {
log(TAG) {
log(TAG, VERBOSE) {
val prev = previous?.rawCaseLidState?.let { String.format("%02X", it.toByte()) }
val cur = current.rawCaseLidState.let { String.format("%02X", it.toByte()) }
"previous=$prev (${previous?.caseLidState}), current=$cur (${current.caseLidState})"