From f4f3c4d03d31957387033cc56d40c46d993168fa Mon Sep 17 00:00:00 2001 From: Nathaniel Hamming Date: Mon, 25 Sep 2023 15:25:53 -0300 Subject: [PATCH] [COASTAL-1291] plugin identifier is no longer class property (#92) --- TidepoolServiceKit/TidepoolService.swift | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/TidepoolServiceKit/TidepoolService.swift b/TidepoolServiceKit/TidepoolService.swift index 00332ab..61ce54c 100644 --- a/TidepoolServiceKit/TidepoolService.swift +++ b/TidepoolServiceKit/TidepoolService.swift @@ -32,8 +32,10 @@ public protocol SessionStorage { } public final class TidepoolService: Service, TAPIObserver, ObservableObject { - - public static let pluginIdentifier = "TidepoolService" + + public static let serviceIdentifier: String = "TidepoolService" + + public var pluginIdentifier: String { Self.serviceIdentifier } public static let localizedTitle = LocalizedString("Tidepool", comment: "The title of the Tidepool service") @@ -66,7 +68,7 @@ public final class TidepoolService: Service, TAPIObserver, ObservableObject { private var hostIdentifier: String? private var hostVersion: String? - private let log = OSLog(category: pluginIdentifier) + private let log = OSLog(category: "TidepoolService") private let tidepoolKitLog = OSLog(category: "TidepoolKit") public init(hostIdentifier: String, hostVersion: String) {