 
 // MARK: Session Info
 public extension Tracker {
+    func log(message: String) {
+        // println("------ \(message) ------")
+    }
+
     func identify(user: User) {
         shouldTrackUser = user.profile?.allowsAnalytics ?? true
         Crashlytics.sharedInstance().setUserIdentifier(shouldTrackUser ? user.id : "")

public extension Tracker {
    func pushNotificationPreferenceChanged(granted: Bool) {
        let accessLevel = granted ? "granted" : "denied"
        agent.track("Push notification access \(accessLevel)")
    }

    func contactAccessPreferenceChanged(granted: Bool) {
        let accessLevel = granted ? "granted" : "denied"
        agent.track("Address book access \(accessLevel)")
    }
}

// MARK: Image Actions
public extension Tracker {
    func imageAddedFromCamera() {
        log("Image added from camera")
        agent.track("Image added from camera")
    }

    func imageAddedFromLibrary() {
        log("Image added from library")
        agent.track("Image added from library")
    }

    func addImageCanceled() {
        log("Image addition canceled")
        agent.track("Image addition canceled")
    }
}
