mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
1 file changed
+5
-4
@@ -51,10 +51,6 @@ namespace BepInEx.Unity.Bootstrap
|
||||
{
|
||||
Logger.Listeners.Add(new UnityLogListener());
|
||||
|
||||
if (ConfigUnityLogging.Value)
|
||||
Logger.Sources.Add(new UnityLogSource());
|
||||
|
||||
|
||||
base.InitializeLoggers();
|
||||
|
||||
|
||||
@@ -69,7 +65,12 @@ namespace BepInEx.Unity.Bootstrap
|
||||
DiskLogListener.BlacklistedSources.Add("Unity Log");
|
||||
}
|
||||
|
||||
|
||||
ChainloaderLogHelper.RewritePreloaderLogs();
|
||||
|
||||
|
||||
if (ConfigUnityLogging.Value)
|
||||
Logger.Sources.Add(new UnityLogSource());
|
||||
}
|
||||
|
||||
public override BaseUnityPlugin LoadPlugin(PluginInfo pluginInfo, Assembly pluginAssembly)
|
||||
|
||||
Reference in new issue
Block a user