logging
This commit is contained in:
parent
026c9f4788
commit
96e101aa80
|
@ -3,6 +3,7 @@ package info.nightscout.androidaps.plugins.Sensitivity;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
import info.nightscout.androidaps.Config;
|
||||||
import info.nightscout.androidaps.R;
|
import info.nightscout.androidaps.R;
|
||||||
import info.nightscout.androidaps.interfaces.PluginBase;
|
import info.nightscout.androidaps.interfaces.PluginBase;
|
||||||
import info.nightscout.androidaps.interfaces.PluginDescription;
|
import info.nightscout.androidaps.interfaces.PluginDescription;
|
||||||
|
@ -52,6 +53,7 @@ public abstract class AbstractSensitivityPlugin extends PluginBase implements Se
|
||||||
|
|
||||||
if (ratio != rawRatio) {
|
if (ratio != rawRatio) {
|
||||||
ratioLimit += "Ratio limited from " + rawRatio + " to " + ratio;
|
ratioLimit += "Ratio limited from " + rawRatio + " to " + ratio;
|
||||||
|
if (Config.logAutosensData)
|
||||||
log.debug(ratioLimit);
|
log.debug(ratioLimit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue