mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Re-enable logging for plugin loads
This commit is contained in:
1 parent
108c43ec7f
commit
0ce01ea835
1 file changed
+2
-2
@@ -41,13 +41,13 @@ namespace BepInEx
|
||||
{
|
||||
var pluginTypes = LoadTypes<BaseUnityPlugin>(Utility.PluginsDirectory);
|
||||
|
||||
//Log($"{pluginTypes.Count()} plugins found");
|
||||
BepInLogger.Log($"{pluginTypes.Count} plugins found");
|
||||
|
||||
foreach (Type t in pluginTypes)
|
||||
{
|
||||
var plugin = (BaseUnityPlugin)ManagerObject.AddComponent(t);
|
||||
Plugins.Add(plugin);
|
||||
//Log($"Loaded [{plugin.Name}]");
|
||||
BepInLogger.Log($"Loaded [{plugin.Name}]");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user