diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-04-23 19:12:48 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-04-23 19:12:48 -0400 |
commit | 489cacca5ef79a77ca04d12395ff1ec5c7a05c5f (patch) | |
tree | 795d283135ba18c14ee37201adfc2c8c40651591 /src/StardewModdingAPI/Framework/Monitor.cs | |
parent | bcaf5b21c1e64ddca29b27d2b96652a3d925d8ff (diff) | |
download | SMAPI-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.cs | 2 |
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> |