diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-08-20 16:15:29 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-08-20 16:15:29 -0400 |
commit | 263130bafcf10e5ce2527eb8643b00052a41f9b5 (patch) | |
tree | c307a38a67c15792594686e37317c9565c31aee1 /src | |
parent | b2103bbfa6691cd6726d626fbf8c0567b8092746 (diff) | |
download | SMAPI-263130bafcf10e5ce2527eb8643b00052a41f9b5.tar.gz SMAPI-263130bafcf10e5ce2527eb8643b00052a41f9b5.tar.bz2 SMAPI-263130bafcf10e5ce2527eb8643b00052a41f9b5.zip |
fix deprecation notices split into two messages unnecessarily
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI/Framework/Deprecations/DeprecationManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/Deprecations/DeprecationManager.cs b/src/SMAPI/Framework/Deprecations/DeprecationManager.cs index 4597a764..f58f085e 100644 --- a/src/SMAPI/Framework/Deprecations/DeprecationManager.cs +++ b/src/SMAPI/Framework/Deprecations/DeprecationManager.cs @@ -124,7 +124,7 @@ namespace StardewModdingAPI.Framework.Deprecations } // log message - if (level == LogLevel.Trace) + if (level is LogLevel.Trace or LogLevel.Debug) { if (warning.LogStackTrace) message += $"\n{this.GetSimplifiedStackTrace(warning.StackTrace, warning.Mod)}"; |