Procházet zdrojové kódy

Label log output for simulated determination differently

Deniz Cengiz před 1 rokem
rodič
revize
98d165d772
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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