diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-25 12:04:14 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-25 12:04:14 -0400 |
commit | bd146e74e8970156da82684a821e5d29ad054b97 (patch) | |
tree | dc5854ddf4edc61ac7c6e645c13d9e141552f75f /src/SMAPI | |
parent | da66a3ef8eaabf79c26ba8e8e5c8a817560f2c6d (diff) | |
download | SMAPI-bd146e74e8970156da82684a821e5d29ad054b97.tar.gz SMAPI-bd146e74e8970156da82684a821e5d29ad054b97.tar.bz2 SMAPI-bd146e74e8970156da82684a821e5d29ad054b97.zip |
update release notes, minor tweaks (#475)
Diffstat (limited to 'src/SMAPI')
-rw-r--r-- | src/SMAPI/Framework/Monitor.cs | 9 | ||||
-rw-r--r-- | src/SMAPI/Program.cs | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/SMAPI/Framework/Monitor.cs b/src/SMAPI/Framework/Monitor.cs index b65932b2..210a059d 100644 --- a/src/SMAPI/Framework/Monitor.cs +++ b/src/SMAPI/Framework/Monitor.cs @@ -100,10 +100,11 @@ namespace StardewModdingAPI.Framework this.LogFile.WriteLine(""); } - /// <summary>Writes user input to the log file.</summary> - /// <param name="input">The input to write.</param> - internal void LogUserInputToFile(string input) + /// <summary>Log console input from the user.</summary> + /// <param name="input">The user input to log.</param> + internal void LogUserInput(string input) { + // user input already appears in the console, so just need to write to file if (this.WriteToFile) { string prefix = this.GenerateMessagePrefix(this.Source, LogLevel.Info); @@ -158,7 +159,7 @@ namespace StardewModdingAPI.Framework this.LogFile.WriteLine(fullMessage); } - /// <summary>Generates a message prefix for the current time.</summary> + /// <summary>Generate a message prefix for the current time.</summary> /// <param name="source">The name of the mod logging the message.</param> /// <param name="level">The log level.</param> private string GenerateMessagePrefix(string source, LogLevel level) diff --git a/src/SMAPI/Program.cs b/src/SMAPI/Program.cs index 73e8bb07..f1152d82 100644 --- a/src/SMAPI/Program.cs +++ b/src/SMAPI/Program.cs @@ -449,7 +449,7 @@ namespace StardewModdingAPI continue; // write input to log file - this.Monitor.LogUserInputToFile(input); + this.Monitor.LogUserInput(input); // parse input try |