             dict[Keys.StringValue] = stringValue
             return dict
         }
-
     }
 
     var name: String

        }
    }

    static 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 }


    }

    func save() {
        saveToMemory()
        saveToDisk()
    }

    fileprivate func saveToMemory() {
        EventLog.memoryStorage[name] = self
    }

    fileprivate func saveToDisk() {
        if persisted {
            DispatchQueue.global(qos: .background).async(execute: { () -> Void in
                do {
