Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion G7SensorKit/G7CGMManager/G7PeripheralManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ extension G7PeripheralManager: CBPeripheralDelegate {
default: break
}
}
log.error("[gatt] %{public}@ error on %{public}@ — %{public}@ (%{public}@#%d)%{public}@", what, characteristic.uuid.uuidString, error.localizedDescription, ns.domain, ns.code, tag)
log.error("[gatt] %{public}@ error on %{public}@ — %{public}@ (%{public}@)", what, characteristic.uuid.uuidString, error.localizedDescription, "\(ns.domain)#\(ns.code)\(tag)")
}

func peripheral(_ peripheral: CBPeripheral, didUpdateNotificationStateFor characteristic: CBCharacteristic, error: Error?) {
Expand Down
2 changes: 1 addition & 1 deletion G7SensorKit/OSLog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ extension OSLog {
case 5:
os_log(message, log: self, type: type, args[0], args[1], args[2], args[3], args[4])
default:
os_log(message, log: self, type: type, args)
os_log("%{public}@ (%d arguments not logged; the helper takes at most 5)", log: self, type: type, message.description, args.count)
}
}
}
2 changes: 1 addition & 1 deletion G7SensorKitUI/OSLog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ extension OSLog {
case 5:
os_log(message, log: self, type: type, args[0], args[1], args[2], args[3], args[4])
default:
os_log(message, log: self, type: type, args)
os_log("%{public}@ (%d arguments not logged; the helper takes at most 5)", log: self, type: type, message.description, args.count)
}
}
}
2 changes: 1 addition & 1 deletion G7SensorPlugin/OSLog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ extension OSLog {
case 5:
os_log(message, log: self, type: type, args[0], args[1], args[2], args[3], args[4])
default:
os_log(message, log: self, type: type, args)
os_log("%{public}@ (%d arguments not logged; the helper takes at most 5)", log: self, type: type, message.description, args.count)
}
}
}