prepare-determine-basal.js 293 B

1234567891011
  1. var freeapsLog = ""
  2. var printLog = function(...args) {
  3. args.forEach(element => freeapsLog.log += JSON.stringify(element) + " ");
  4. freeapsLog += "\n";
  5. }
  6. tempBasalFunctions = freeaps;
  7. var process = { stderr: { write: printLog } };
  8. var console = { log: freeaps.print, error: printLog };