Changeset 253 for binary-improvements/MapRendering/Web/API/GetLog.cs
- Timestamp:
- Dec 12, 2015, 4:08:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetLog.cs
r250 r253 15 15 } 16 16 17 if (req.QueryString ["lastLine"] == null || !int.TryParse (req.QueryString ["lastLine"], out lastLine)) {18 lastLine = -1;19 }20 21 17 JSONObject result = new JSONObject (); 22 18 23 List<LogBuffer.LogEntry> logEntries = LogBuffer.Instance.GetRange (ref firstLine, reflastLine);19 List<LogBuffer.LogEntry> logEntries = LogBuffer.Instance.GetRange (ref firstLine, 50, out lastLine); 24 20 25 21 JSONArray entries = new JSONArray ();
Note:
See TracChangeset
for help on using the changeset viewer.