Changeset 425 for binary-improvements2/WebServer/src/SSE/EventLog.cs
- Timestamp:
- Apr 10, 2023, 8:23:15 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/src/SSE/EventLog.cs
r402 r425 4 4 using Utf8Json; 5 5 using Webserver.UrlHandlers; 6 using Webserver.WebAPI; 6 7 7 8 namespace Webserver.SSE { … … 19 20 20 21 private void LogCallback (string _formattedMsg, string _plainMsg, string _trace, LogType _type, DateTime _timestamp, long _uptime) { 21 string isotime = _timestamp.ToString ("o");22 22 string uptime = _uptime.ToString (); 23 23 … … 34 34 35 35 writer.WriteRaw (jsonIsotimeKey); 36 writer.WriteString (isotime);36 JsonCommons.WriteDateTime (ref writer, _timestamp); 37 37 38 38 writer.WriteRaw (jsonUptimeKey);
Note:
See TracChangeset
for help on using the changeset viewer.