Skip to content

Commit ab1157a

Browse files
authored
Add missing log (#869)
1 parent 2bf7882 commit ab1157a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Loop/Managers/LoopDataManager.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ final class LoopDataManager {
9090
queue: nil
9191
) { (note) -> Void in
9292
self.dataAccessQueue.async {
93-
self.logger.info("Received notification of carb entries updating")
93+
self.logger.default("Received notification of carb entries updating")
9494

9595
self.carbEffect = nil
9696
self.carbsOnBoard = nil
@@ -103,7 +103,7 @@ final class LoopDataManager {
103103
queue: nil
104104
) { (note) in
105105
self.dataAccessQueue.async {
106-
self.logger.info("Received notification of glucose samples changing")
106+
self.logger.default("Received notification of glucose samples changing")
107107

108108
self.glucoseMomentumEffect = nil
109109

@@ -571,6 +571,7 @@ extension LoopDataManager {
571571
} else {
572572
self.lastLoopCompleted = Date()
573573
}
574+
self.logger.default("Loop ended")
574575
self.notify(forChange: .tempBasal)
575576
}
576577

0 commit comments

Comments
 (0)