Skip to content

Commit

Permalink
Make TelemetryDeck.signal method public
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed May 18, 2024
1 parent 3ab5db3 commit 1dd9b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TelemetryClient/TelemetryDeck.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public enum TelemetryDeck {
/// - customUserID: An optional string specifying a custom user identifier. If provided, it will override the default user identifier from the configuration. Default is `nil`.
///
/// This function wraps the `TelemetryManager.send` method, providing a streamlined way to send signals from anywhere in the app.
static func signal(_ signalName: String, parameters: [String: String] = [:], floatValue: Double? = nil, customUserID: String? = nil) {
public static func signal(_ signalName: String, parameters: [String: String] = [:], floatValue: Double? = nil, customUserID: String? = nil) {
TelemetryManager.send(signalName, for: customUserID, floatValue: floatValue, with: parameters)
}
}

0 comments on commit 1dd9b98

Please sign in to comment.