Skip to content

Commit

Permalink
[COASTAL-1291] plugin identifier is no longer class property (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhamming authored Sep 25, 2023
1 parent 0c563b8 commit f4f3c4d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions TidepoolServiceKit/TidepoolService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit f4f3c4d

Please sign in to comment.