Readd logging message to tell number of patches loaded in preloader

This commit is contained in:
ghorsington committed 2019-06-12 16:20:19 +03:00
1 parent e4a61ebad6
commit 0fbb70217f
1 file changed
+5 -2
@@ -109,9 +109,12 @@ namespace BepInEx.Preloader.Patching
Logger.LogDebug(e.ToString());
}
}
}
foreach (KeyValuePair<string, PatcherPlugin> patcher in sortedPatchers)
Logger.Log(patcherCollection.Any() ? LogLevel.Info : LogLevel.Debug,
$"Loaded {patcherCollection.Count} patcher methods from {assembly.Name.Name}");
}
foreach (KeyValuePair<string, PatcherPlugin> patcher in sortedPatchers)
AddPatcher(patcher.Value);
foreach (var assemblyDefinition in patchers.Keys)