summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Logging/LogManager.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-13 22:17:26 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-13 22:17:26 -0400
commit3078ae2a8e10294c86f8702769e15da16511ecde (patch)
tree203e18a164d621eb0d06ca487f9940bf90b349b5 /src/SMAPI/Framework/Logging/LogManager.cs
parent2765e3f9b379f0dc2a5732c1ca9ba23dbe2a7f15 (diff)
downloadSMAPI-3078ae2a8e10294c86f8702769e15da16511ecde.tar.gz
SMAPI-3078ae2a8e10294c86f8702769e15da16511ecde.tar.bz2
SMAPI-3078ae2a8e10294c86f8702769e15da16511ecde.zip
fix typos in recent changes (#837)
Diffstat (limited to 'src/SMAPI/Framework/Logging/LogManager.cs')
-rw-r--r--src/SMAPI/Framework/Logging/LogManager.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SMAPI/Framework/Logging/LogManager.cs b/src/SMAPI/Framework/Logging/LogManager.cs
index a5989673..b94807b5 100644
--- a/src/SMAPI/Framework/Logging/LogManager.cs
+++ b/src/SMAPI/Framework/Logging/LogManager.cs
@@ -93,18 +93,18 @@ namespace StardewModdingAPI.Framework.Logging
/// <param name="getScreenIdForLog">Get the screen ID that should be logged to distinguish between players in split-screen mode, if any.</param>
public LogManager(string logPath, ColorSchemeConfig colorConfig, bool writeToConsole, bool isVerbose, bool isDeveloperMode, Func<int?> getScreenIdForLog)
{
- // init fields
+ // init log file
this.LogFile = new LogFileManager(logPath);
- this.Monitor = this.GetMonitor("SMAPI");
- this.MonitorForGame = this.GetMonitor("game");
- // init construction logic
+ // init monitor
this.GetMonitorImpl = name => new Monitor(name, LogManager.IgnoreChar, this.LogFile, colorConfig, isVerbose, getScreenIdForLog)
{
WriteToConsole = writeToConsole,
ShowTraceInConsole = isDeveloperMode,
ShowFullStampInConsole = isDeveloperMode
};
+ this.Monitor = this.GetMonitor("SMAPI");
+ this.MonitorForGame = this.GetMonitor("game");
// redirect direct console output
this.ConsoleInterceptor = new InterceptingTextWriter(