From 8ec8bd60bc9ac1bfb450fd0f1a299fc2fd374e7c Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Thu, 25 Mar 2021 02:31:39 +0100 Subject: [PATCH] make compile --- .../info/nightscout/androidaps/logging/UserEntryLogger.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/info/nightscout/androidaps/logging/UserEntryLogger.kt b/core/src/main/java/info/nightscout/androidaps/logging/UserEntryLogger.kt index d542dc1aae..613361f985 100644 --- a/core/src/main/java/info/nightscout/androidaps/logging/UserEntryLogger.kt +++ b/core/src/main/java/info/nightscout/androidaps/logging/UserEntryLogger.kt @@ -20,7 +20,7 @@ class UserEntryLogger @Inject constructor( private val compositeDisposable = CompositeDisposable() - fun log(action: Action, s: String? ="", vararg listvalues: ValueWithUnit) { +/* fun log(action: Action, s: String? ="", vararg listvalues: ValueWithUnit) { val values = mutableListOf() for (v in listvalues){ if (v.condition) values.add(v) @@ -36,7 +36,7 @@ class UserEntryLogger @Inject constructor( onError = { aapsLogger.debug("ERRORED USER ENTRY: $action $s $values") }, onComplete = { aapsLogger.debug("USER ENTRY: $action $s $values") } ) - } + }*/ fun log(action: Action, vararg listvalues: XXXValueWithUnit?) = Unit // TODO @@ -44,7 +44,7 @@ class UserEntryLogger @Inject constructor( fun log(action: Action, s: String? , vararg listvalues: XXXValueWithUnit?) = Unit - fun log(action: Action, vararg listvalues: ValueWithUnit) { +/* fun log(action: Action, vararg listvalues: ValueWithUnit) { val values = mutableListOf() for (v in listvalues){ if (v.condition) values.add(v) @@ -73,7 +73,7 @@ class UserEntryLogger @Inject constructor( onError = { aapsLogger.debug("ERRORED USER ENTRY: $action") }, onComplete = { aapsLogger.debug("USER ENTRY: $action") } ) - } + }*/ // fun log(action: Action, s: String? = "", values: List) { // TODO re-enable with new signature // compositeDisposable += repository.runTransaction(UserEntryTransaction(