diff --git a/Sources/Confidence/Confidence.swift b/Sources/Confidence/Confidence.swift index a6952102..0eab326d 100644 --- a/Sources/Confidence/Confidence.swift +++ b/Sources/Confidence/Confidence.swift @@ -28,7 +28,7 @@ public class Confidence: ConfidenceEventSender { self.parent = parent } - public func send(eventName: String, message: ConfidenceStruct) { + public func track(eventName: String, message: ConfidenceStruct) { eventSenderEngine.emit(eventName: eventName, message: message, context: getContext()) } diff --git a/Sources/Confidence/ConfidenceEventSender.swift b/Sources/Confidence/ConfidenceEventSender.swift index a0092cbf..aedc8797 100644 --- a/Sources/Confidence/ConfidenceEventSender.swift +++ b/Sources/Confidence/ConfidenceEventSender.swift @@ -2,5 +2,5 @@ import Foundation /// Sends events to Confidence. Contextual data is appended to each event public protocol ConfidenceEventSender: Contextual { - func send(eventName: String, message: ConfidenceStruct) + func track(eventName: String, message: ConfidenceStruct) }