     }
 
     func logError(_ name: String, message: String?, exception: NSException?) {
-        Analytics.logEvent("Exception", parameters: [
+        logFbEvent("Exception", parameters: [
             "name": name,
             "message": String(describing: message),
             "exception": String(describing: exception)

import Firebase

class AnalyticsKitFirebaseProvider: NSObject, AnalyticsKitProvider {

    override init() {
        super.init()

    }

    func logEvent(_ event: String) {
        logFbEvent(event, parameters: nil)
    }

    func logEvent(_ event: String, withProperty key: String, andValue value: String) {
        logFbEvent(event, parameters: [key: value])
    }

    func logEvent(_ event: String, withProperties properties: [String: Any]) {
        logFbEvent(event, parameters: properties)
    }

    func logEvent(_ event: String, timed: Bool) {
        logFbEvent(event, parameters: nil)
    }

    func logEvent(_ event: String, withProperties dict: [String: Any], timed: Bool) {
        logFbEvent(event, parameters: dict)
    }

    func endTimedEvent(_ event: String, withProperties dict: [String: Any]) {
