add UTC timestamp to logs

This commit is contained in:
Jesse Plamondon-Willard 2017-09-06 23:22:11 -04:00
parent b2b3df08bc
commit c994747e51
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ For players:
For modders:
* Fixed edge cases in `SDate.AddDays(…)` calculations.
* Added UTC timestamp to logs.
## 1.15.3
For players:

View File

@ -128,6 +128,7 @@ namespace StardewModdingAPI
// init logging
this.Monitor.Log($"SMAPI {Constants.ApiVersion} with Stardew Valley {Constants.GameVersion} on {this.GetFriendlyPlatformName()}", LogLevel.Info);
this.Monitor.Log($"Mods go here: {Constants.ModPath}");
this.Monitor.Log($"Log started at {DateTime.UtcNow:s} UTC", LogLevel.Trace);
#if SMAPI_1_x
this.Monitor.Log("Preparing SMAPI...");
#endif