protected override void WriteEntry(string key, TraceEntry entry)
        {
            if (!_storage.ContainsKey(key))
            {
                _storage[key] = new List<TraceEntry>();
            }

            _storage[key].Add(entry);
        }
Example #2
0
 protected override void WriteEntry(string key, TraceEntry entry)
 {
     var path = GetCommandStatePath(key);
     File.AppendAllText(path, JsonConvert.SerializeObject(entry) + ",");
 }