Skip to content

Commit

Permalink
docs: mark logEvent as deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyang1520 committed Nov 3, 2022
1 parent fe5dba7 commit 75d5636
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Amplitude/Amplitude.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class Amplitude {
return self
}

@available(*, deprecated, message: "use 'track' instead")
func logEvent() -> Amplitude {
return self
}
Expand Down

0 comments on commit 75d5636

Please sign in to comment.