Changeset 387 for binary-improvements2/MapRendering/Web/SSE/EventLog.cs
- Timestamp:
- Aug 6, 2022, 11:32:32 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/MapRendering/Web/SSE/EventLog.cs
r382 r387 10 10 11 11 private void LogCallback (string _formattedMsg, string _plainMsg, string _trace, LogType _type, DateTime _timestamp, long _uptime) { 12 string date = $"{_timestamp.Year:0000}-{_timestamp.Month:00}-{_timestamp.Day:00}";13 string time = $"{_timestamp.Hour:00}:{_timestamp.Minute:00}:{_timestamp.Second:00}";14 12 string isotime = _timestamp.ToString ("o"); 15 13 string uptime = _uptime.ToString (); … … 20 18 data.Add ("type", new JSONString (_type.ToStringCached ())); 21 19 data.Add ("trace", new JSONString (_trace)); 22 data.Add ("date", new JSONString (date));23 data.Add ("time", new JSONString (time));24 20 data.Add ("isotime", new JSONString (isotime)); 25 21 data.Add ("uptime", new JSONString (uptime));
Note:
See TracChangeset
for help on using the changeset viewer.