From d52b3572f3d80c232c80de44adc93cc6cb015812 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 8 Feb 2017 00:17:00 -0500 Subject: simplify log filename --- release-notes.md | 1 + 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 /// The directory path in which error logs should be stored. public static string LogDir => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "StardewValley", "ErrorLogs"); - /// The file path to the error log where the latest output should be saved. - public static string LogPath => Path.Combine(Constants.LogDir, "MODDED_ProgramLog.Log_LATEST.txt"); + /// The file path to the log where the latest output should be saved. + public static string LogPath => Path.Combine(Constants.LogDir, "SMAPI-latest.txt"); /// The file path for the SMAPI configuration file. internal static string ApiConfigPath => Path.Combine(Constants.ExecutionPath, $"{typeof(Program).Assembly.GetName().Name}.config.json"); -- cgit