             return nil
         }
 
-        func offsetSince(time: Date) -> TimeInterval {
-            return time.timeIntervalSince(time)
+        func offsetSince(time startTime: Date) -> TimeInterval {
+            return time.timeIntervalSince(startTime)
         }
 
         func dictionaryValue() -> [String : String] {

    var consoleLoggingEnabled = true
    var persisted = true

    static fileprivate var storage = [String: EventLog]()

    init (_ name: String) {
        if let stored = EventLog.storage[name] {
            self = stored
        } else if let saved = EventLog.loadFromDisk(named: name) {
            self = saved
        } else {
            self.name = name
            self.creationTime = Date()
            EventLog.storage[name] = self
        }
    }


        }
    }

    static fileprivate func loadFromDisk(named name: String) -> EventLog? {
        if let json = try? NSString(contentsOfFile: savePath(forName: name), encoding: String.Encoding.utf8.rawValue) {
            guard let jsonData = json.data(using: String.Encoding.utf8.rawValue, allowLossyConversion: false) else { return nil }

