diff options
-rw-r--r-- | release-notes.md | 1 | ||||
-rw-r--r-- | src/StardewModdingAPI/Constants.cs | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/release-notes.md b/release-notes.md index 61b1d689..9b6bd4fb 100644 --- a/release-notes.md +++ b/release-notes.md @@ -5,6 +5,7 @@ See [log](https://github.com/Pathoschild/SMAPI/compare/1.8...1.9). For players: * Updated for Stardew Valley 1.2. +* Simplified log filename. For mod developers: * Added `SaveEvents.AfterReturnToTitle` event. diff --git a/src/StardewModdingAPI/Constants.cs b/src/StardewModdingAPI/Constants.cs index d3c2ddcc..7b4d8f40 100644 --- a/src/StardewModdingAPI/Constants.cs +++ b/src/StardewModdingAPI/Constants.cs @@ -61,8 +61,8 @@ namespace StardewModdingAPI /// <summary>The directory path in which error logs should be stored.</summary> public static string LogDir => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley", "ErrorLogs"); - /// <summary>The file path to the error log where the latest output should be saved.</summary> - public static string LogPath => Path.Combine(Constants.LogDir, "MODDED_ProgramLog.Log_LATEST.txt"); + /// <summary>The file path to the log where the latest output should be saved.</summary> + public static string LogPath => Path.Combine(Constants.LogDir, "SMAPI-latest.txt"); /// <summary>The file path for the SMAPI configuration file.</summary> internal static string ApiConfigPath => Path.Combine(Constants.ExecutionPath, $"{typeof(Program).Assembly.GetName().Name}.config.json"); |