             error: Swift.Error?
         ) {
             
-            if let error = error {
-                self.central.log("Error setting notifications for characteristic (\(error))")
-            } else {
-                self.central.log("Peripheral \(peripheralObject.gattIdentifier.uuidString) did update notification state for characteristic \(characteristicObject.uuid.uuidString)")
-            }
+            log(peripheralObject.gattIdentifier.uuidString, characteristicObject.uuid.uuidString, error?.localizedDescription)
             
             let characteristic = Characteristic(
                 characteristic: characteristicObject,

        }
        
        func peripheralDidUpdateName(_ peripheralObject: CBPeripheral) {
            
            self.central.log("Peripheral \(peripheralObject) updated name: \(peripheralObject.name ?? "")")
            
        }
        
        func peripheral(_ peripheralObject: CBPeripheral, didReadRSSI RSSI: NSNumber, error: Error?) {
            
            if let error = error {
                self.central.log("Error reading RSSI for peripheral \(peripheralObject.gattIdentifier.uuidString) (\(error))")
            } else {
                self.central.log("Peripheral \(peripheralObject.gattIdentifier.uuidString) did read RSSI \(RSSI)")
            }
            
            
        }
        
        func peripheral(

            } else {
                for serviceObject in (corePeripheral.services ?? []) {
                    let service = Service(
                        service: serviceObject,
                        peripheral: corePeripheral
                    )
                    continuation.yield(service)
                }
                continuation.finish(throwing: nil)
            }
            // remove callback
            self.central.continuation.discoverServices[peripheral] = nil
