You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <param name="colorSchemeId">The color scheme ID in <paramref name="colorConfig"/> to use, or <see cref="MonitorColorScheme.AutoDetect"/> to select one automatically.</param>
32
33
/// <param name="colorConfig">The colors to use for text written to the SMAPI console.</param>
/// <param name="colorSchemeId">The color scheme ID in <paramref name="colorConfig"/> to use, or <see cref="MonitorColorScheme.AutoDetect"/> to select one automatically.</param>
126
125
/// <param name="colorConfig">The colors to use for text written to the SMAPI console.</param>
:thrownewNotSupportedException($"Unknown color scheme '{schemeId}'.");
139
+
:thrownewNotSupportedException($"Unknown color scheme '{colorSchemeId}'.");
142
140
}
143
141
144
142
/// <summary>Get whether a console color should be considered dark, which is subjectively defined as 'white looks better than black on this text'.</summary>
Copy file name to clipboardExpand all lines: src/SMAPI/Framework/Logging/LogManager.cs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,18 +47,19 @@ internal class LogManager : IDisposable
47
47
****/
48
48
/// <summary>Construct an instance.</summary>
49
49
/// <param name="logPath">The log file path to write.</param>
50
+
/// <param name="colorSchemeId">The color scheme ID in <paramref name="colorConfig"/> to use, or <see cref="MonitorColorScheme.AutoDetect"/> to select one automatically.</param>
50
51
/// <param name="colorConfig">The colors to use for text written to the SMAPI console.</param>
51
52
/// <param name="writeToConsole">Whether to output log messages to the console.</param>
52
53
/// <param name="verboseLogging">The log contexts for which to enable verbose logging, which may show a lot more information to simplify troubleshooting.</param>
53
54
/// <param name="isDeveloperMode">Whether to enable full console output for developers.</param>
54
55
/// <param name="getScreenIdForLog">Get the screen ID that should be logged to distinguish between players in split-screen mode, if any.</param>
Copy file name to clipboardExpand all lines: src/SMAPI/Framework/Models/SConfig.cs
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -95,8 +95,11 @@ internal class SConfig
95
95
/// <summary>Whether to include more technical details about broken mods in the TRACE logs. This is mainly useful for creating compatibility rewriters.</summary>
/// <summary>The color scheme ID in <see cref="ConsoleColorSchemes"/> to use, or <see cref="MonitorColorScheme.AutoDetect"/> to select one automatically.</summary>
/// <summary>Whether to prevent mods from enabling Harmony's debug mode, which impacts performance and creates a file on your desktop. Debug mode should never be enabled by a released mod.</summary>
Copy file name to clipboardExpand all lines: src/SMAPI/Framework/Monitor.cs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -73,10 +73,11 @@ internal class Monitor : IMonitor
73
73
/// <param name="modId">The mod ID, if applicable.</param>
74
74
/// <param name="source">The name of the module which logs messages using this instance.</param>
75
75
/// <param name="logFile">The log file to which to write messages.</param>
76
+
/// <param name="colorSchemeId">The color scheme ID in <paramref name="colorConfig"/> to use, or <see cref="MonitorColorScheme.AutoDetect"/> to select one automatically.</param>
76
77
/// <param name="colorConfig">The colors to use for text written to the SMAPI console.</param>
77
78
/// <param name="isVerbose">Whether verbose logging is enabled. This enables more detailed diagnostic messages than are normally needed.</param>
78
79
/// <param name="getScreenIdForLog">Get the screen ID that should be logged to distinguish between players in split-screen mode, if any.</param>
0 commit comments