log initiator in loop

This commit is contained in:
Milos Kozak 2017-06-14 22:12:36 +02:00
parent b14cf480cf
commit 9ce78881fb

View file

@ -209,7 +209,7 @@ public class LoopPlugin implements PluginBase {
public void invoke(String initiator, boolean allowNotification) { public void invoke(String initiator, boolean allowNotification) {
try { try {
if (Config.logFunctionCalls) if (Config.logFunctionCalls)
log.debug("invoke"); log.debug("invoke from " + initiator);
ConstraintsInterface constraintsInterface = MainApp.getConfigBuilder(); ConstraintsInterface constraintsInterface = MainApp.getConfigBuilder();
if (!constraintsInterface.isLoopEnabled()) { if (!constraintsInterface.isLoopEnabled()) {
log.debug(MainApp.sResources.getString(R.string.loopdisabled)); log.debug(MainApp.sResources.getString(R.string.loopdisabled));