Clean up log output from determine-basal.js

This commit is contained in:
Brian Quinion 2019-08-25 21:27:53 +01:00
parent 157dc097d1
commit e6994bd4b3

View file

@ -38,14 +38,12 @@ public class LoggerCallback extends ScriptableObject {
if (L.isEnabled(L.APS)) if (L.isEnabled(L.APS))
log.debug(obj1.toString().trim()); log.debug(obj1.toString().trim());
logBuffer.append(obj1.toString()); logBuffer.append(obj1.toString());
// logBuffer.append(' ');
} }
public void jsFunction_error(Object obj1) { public void jsFunction_error(Object obj1) {
if (L.isEnabled(L.APS)) if (L.isEnabled(L.APS))
log.error(obj1.toString().trim()); log.error(obj1.toString().trim());
errorBuffer.append(obj1.toString()); errorBuffer.append(obj1.toString());
// errorBuffer.append(' ');
} }
@ -60,4 +58,4 @@ public class LoggerCallback extends ScriptableObject {
} }
return ret; return ret;
} }
} }