ConsoleAnalyticsProvider
public class ConsoleAnalyticsProvider : AnalyticsProvider
A trivial AnalyticsProvider
implementation that simply outputs analytics to the console for debugging.
You can use this in developer builds to ensure all your expected analytics analytics are being produced.
-
Implement and override this for specific action types to marshal the appropriate analytics keys if required
Declaration
Swift
public func analyticsEventWillBegin<T>(feature: FeatureDefinition.Type, action: T.Type, context: [String : Any?]?) where T : Action
-
Note
Surely we’ll need to include some kind of result of the action here?Declaration
Swift
public func analyticsEventDidEnd<T>(feature: FeatureDefinition.Type, action: T.Type, context: [String : Any?]?, outcome: ActionPerformOutcome) where T : Action