Pārlūkot izejas kodu

Label log output for simulated determination differently

Deniz Cengiz 1 gadu atpakaļ
vecāks
revīzija
98d165d772
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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