From 75d563636e7723e820df6365ed198961e92d186b Mon Sep 17 00:00:00 2001 From: Marvin Liu Date: Thu, 3 Nov 2022 08:40:25 -0700 Subject: [PATCH] docs: mark logEvent as deprecated method --- Sources/Amplitude/Amplitude.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Amplitude/Amplitude.swift b/Sources/Amplitude/Amplitude.swift index 7755b852..5fe19c23 100644 --- a/Sources/Amplitude/Amplitude.swift +++ b/Sources/Amplitude/Amplitude.swift @@ -22,6 +22,7 @@ public class Amplitude { return self } + @available(*, deprecated, message: "use 'track' instead") func logEvent() -> Amplitude { return self }