private static string ToJson(IEnumerable <LogEvent> events) { var data = new RawEvents { Events = events.Select(e => RawEvent.FromLogEvent(e)).ToArray() }; throw new NotImplementedException(); //string json = data.ToJsonString(); //return json; }
private static string ToJson(IEnumerable <LogEvent> events) { var data = new RawEvents { Events = events.Select(e => RawEvent.FromLogEvent(e)).ToArray() }; string json = data.ToJsonString(); return(json); }