diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-04-26 16:21:03 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-04-26 16:21:03 -0400 |
commit | afc8ae69fead4099ac86dcea6aa874f5b1540e29 (patch) | |
tree | a2ad98ac42b9a49e9212cb6c5b7a911dc0693143 /src/StardewModdingAPI | |
parent | 4ef957c191f3ad012b234d533810dd59717f30c1 (diff) | |
download | SMAPI-afc8ae69fead4099ac86dcea6aa874f5b1540e29.tar.gz SMAPI-afc8ae69fead4099ac86dcea6aa874f5b1540e29.tar.bz2 SMAPI-afc8ae69fead4099ac86dcea6aa874f5b1540e29.zip |
No longer suppress console output from the log file
Console messages appear in the console (in developer mode only), but weren't saved to the log file based on the argument that they weren't relevant. However, that also suppresses the game's load-game errors in Stardew Valley 1.2, which makes troubleshooting save issues more complicated. To avoid any such issues in the future, they're now always logged to the file. If you need to log a message that isn't shown to the user, use System.Diagnostics.Debug instead.
Diffstat (limited to 'src/StardewModdingAPI')
-rw-r--r-- | src/StardewModdingAPI/Program.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Program.cs b/src/StardewModdingAPI/Program.cs index 6e7f9950..18a5c999 100644 --- a/src/StardewModdingAPI/Program.cs +++ b/src/StardewModdingAPI/Program.cs @@ -247,7 +247,6 @@ namespace StardewModdingAPI // redirect direct console output { Monitor monitor = this.GetSecondaryMonitor("Console.Out"); - monitor.WriteToFile = false; // not useful for troubleshooting mods per discussion if (monitor.WriteToConsole) this.ConsoleManager.OnMessageIntercepted += line => monitor.Log(line, LogLevel.Trace); } |