ソースを参照

Label log output for simulated determination differently

Deniz Cengiz 1 年間 前
コミット
98d165d772
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Trio/Sources/APS/OpenAPS/OpenAPS.swift

+ 1 - 1
Trio/Sources/APS/OpenAPS/OpenAPS.swift

@@ -367,7 +367,7 @@ final class OpenAPS {
             oref2_variables: oref2_variables
         )
 
-        debug(.openAPS, "OREF DETERMINATION: \(orefDetermination)")
+        debug(.openAPS, "\(simulation ? "[SIMULATION]" : "") OREF DETERMINATION: \(orefDetermination)")
 
         if var determination = Determination(from: orefDetermination), let deliverAt = determination.deliverAt {
             // set both timestamp and deliverAt to the SAME date; this will be updated for timestamp once it is enacted