summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/Monitor.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-04-23 19:12:48 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-04-23 19:12:48 -0400
commit489cacca5ef79a77ca04d12395ff1ec5c7a05c5f (patch)
tree795d283135ba18c14ee37201adfc2c8c40651591 /src/StardewModdingAPI/Framework/Monitor.cs
parentbcaf5b21c1e64ddca29b27d2b96652a3d925d8ff (diff)
downloadSMAPI-489cacca5ef79a77ca04d12395ff1ec5c7a05c5f.tar.gz
SMAPI-489cacca5ef79a77ca04d12395ff1ec5c7a05c5f.tar.bz2
SMAPI-489cacca5ef79a77ca04d12395ff1ec5c7a05c5f.zip
minor cleanup
Diffstat (limited to 'src/StardewModdingAPI/Framework/Monitor.cs')
-rw-r--r--src/StardewModdingAPI/Framework/Monitor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Framework/Monitor.cs b/src/StardewModdingAPI/Framework/Monitor.cs
index 64075f2f..70dd94c0 100644
--- a/src/StardewModdingAPI/Framework/Monitor.cs
+++ b/src/StardewModdingAPI/Framework/Monitor.cs
@@ -21,7 +21,7 @@ namespace StardewModdingAPI.Framework
private readonly LogFileManager LogFile;
/// <summary>The maximum length of the <see cref="LogLevel"/> values.</summary>
- private static readonly int MaxLevelLength = (from level in Enumerable.Cast<LogLevel>(Enum.GetValues(typeof(LogLevel))) select level.ToString().Length).Max();
+ private static readonly int MaxLevelLength = (from level in Enum.GetValues(typeof(LogLevel)).Cast<LogLevel>() select level.ToString().Length).Max();
/// <summary>The console text color for each log level.</summary>
private static readonly Dictionary<LogLevel, ConsoleColor> Colors = new Dictionary<LogLevel, ConsoleColor>