summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-05-09 22:37:53 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-05-09 22:37:53 -0400
commitb4584afda897b695c5fc306db9facc0690b5ab75 (patch)
treef02843af0f9068a500b5ff48693c4559198e300b /src/StardewModdingAPI/Framework
parent0d8009b231723ae337e3a22f7455cb5ce6a8e72e (diff)
downloadSMAPI-b4584afda897b695c5fc306db9facc0690b5ab75.tar.gz
SMAPI-b4584afda897b695c5fc306db9facc0690b5ab75.tar.bz2
SMAPI-b4584afda897b695c5fc306db9facc0690b5ab75.zip
trace locale changes as non-verbose context
Diffstat (limited to 'src/StardewModdingAPI/Framework')
-rw-r--r--src/StardewModdingAPI/Framework/SGame.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Framework/SGame.cs b/src/StardewModdingAPI/Framework/SGame.cs
index 81dae754..f0450306 100644
--- a/src/StardewModdingAPI/Framework/SGame.cs
+++ b/src/StardewModdingAPI/Framework/SGame.cs
@@ -1136,8 +1136,7 @@ namespace StardewModdingAPI.Framework
var oldValue = this.PreviousLocale;
var newValue = LocalizedContentManager.CurrentLanguageCode;
- if (this.VerboseLogging)
- this.Monitor.Log($"Context: locale set to {newValue}.", LogLevel.Trace);
+ this.Monitor.Log($"Context: locale set to {newValue}.", LogLevel.Trace);
if (oldValue != null)
ContentEvents.InvokeAfterLocaleChanged(this.Monitor, oldValue.ToString(), newValue.ToString());