Deniz Cengiz 1 год назад
Родитель
Сommit
3c5514dd5c
2 измененных файлов с 6 добавлено и 6 удалено
  1. 4 4
      Trio/Sources/Application/TrioApp.swift
  2. 2 2
      Trio/Sources/Logger/Logger.swift

+ 4 - 4
Trio/Sources/Application/TrioApp.swift

@@ -67,20 +67,20 @@ import Swinject
             .default,
             "Trio Started: v\(Bundle.main.releaseVersionNumber ?? "")(\(Bundle.main.buildVersionNumber ?? "")) [buildDate: \(String(describing: BuildDetails.default.buildDate()))] [buildExpires: \(String(describing: BuildDetails.default.calculateExpirationDate()))]"
         )
-        
+
         // Setup up the Core Data Stack
         coreDataStack = CoreDataStack.shared
 
         do {
             // Explicitly initialize Core Data Stacak
             try coreDataStack.initializeStack()
-            
+
             // Load services
             loadServices()
-            
+
             // Fix bug in iOS 18 related to the translucent tab bar
             configureTabBarAppearance()
-            
+
             // Clear the persistentHistory and the NSManagedObjects that are older than 90 days every time the app starts
             cleanupOldData()
         } catch {

+ 2 - 2
Trio/Sources/Logger/Logger.swift

@@ -157,13 +157,13 @@ final class Logger {
             case .apsManager,
                  .bolusState,
                  .businessLogic,
+                 .coreData,
                  .deviceManager,
                  .nightscout,
                  .openAPS,
                  .remoteControl,
                  .service,
-                 .watchManager,
-                 .coreData:
+                 .watchManager:
                 return OSLog(subsystem: subsystem, category: name)
             }
         }