summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Monitor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Framework/Monitor.cs')
-rw-r--r--src/SMAPI/Framework/Monitor.cs9
1 files changed, 5 insertions, 4 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)