diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-12-02 17:46:07 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-12-02 17:46:07 -0500 |
commit | 788a90674f694c29cfb9978927c642681edbb2ba (patch) | |
tree | 3d55243d4085813011a6182215310b0fc5d0b5b3 /src | |
parent | ad773a947acaf02b472846bc3eefdac2e514a1a7 (diff) | |
download | SMAPI-788a90674f694c29cfb9978927c642681edbb2ba.tar.gz SMAPI-788a90674f694c29cfb9978927c642681edbb2ba.tar.bz2 SMAPI-788a90674f694c29cfb9978927c642681edbb2ba.zip |
reduce logging levels (#166)
Diffstat (limited to 'src')
-rw-r--r-- | src/StardewModdingAPI/Framework/AssemblyRewriting/AssemblyTypeRewriter.cs | 2 | ||||
-rw-r--r-- | src/StardewModdingAPI/Framework/ModAssemblyLoader.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Framework/AssemblyRewriting/AssemblyTypeRewriter.cs b/src/StardewModdingAPI/Framework/AssemblyRewriting/AssemblyTypeRewriter.cs index 1e97bdcb..3459488e 100644 --- a/src/StardewModdingAPI/Framework/AssemblyRewriting/AssemblyTypeRewriter.cs +++ b/src/StardewModdingAPI/Framework/AssemblyRewriting/AssemblyTypeRewriter.cs @@ -110,7 +110,7 @@ namespace StardewModdingAPI.Framework.AssemblyRewriting if (rewriter != null) { MethodReference methodRef = (MethodReference)op.Operand; - this.Monitor.Log($"rewriting method reference {methodRef.DeclaringType.FullName}.{methodRef.Name}"); + this.Monitor.Log($"rewriting method reference {methodRef.DeclaringType.FullName}.{methodRef.Name}", LogLevel.Trace); rewriter.Rewrite(module, cil, op, methodRef, this.AssemblyMap); } } diff --git a/src/StardewModdingAPI/Framework/ModAssemblyLoader.cs b/src/StardewModdingAPI/Framework/ModAssemblyLoader.cs index d92a04f3..51018b0b 100644 --- a/src/StardewModdingAPI/Framework/ModAssemblyLoader.cs +++ b/src/StardewModdingAPI/Framework/ModAssemblyLoader.cs @@ -60,7 +60,7 @@ namespace StardewModdingAPI.Framework // process assembly if not cached if (!canUseCache) { - this.Monitor.Log($"Loading {assemblyFileName} for the first time; preprocessing..."); + this.Monitor.Log($"Loading {assemblyFileName} for the first time; preprocessing...", LogLevel.Trace); // read assembly definition AssemblyDefinition assembly; |