|
@@ -65,7 +65,6 @@ namespace BepInEx.Bootstrap
|
|
if (_initialized)
|
|
if (_initialized)
|
|
return;
|
|
return;
|
|
|
|
|
|
- ReplayPreloaderLogs(preloaderLogEvents);
|
|
|
|
ThreadingHelper.Initialize();
|
|
ThreadingHelper.Initialize();
|
|
|
|
|
|
// Set vitals
|
|
// Set vitals
|
|
@@ -91,6 +90,8 @@ namespace BepInEx.Bootstrap
|
|
if (!TraceLogSource.IsListening)
|
|
if (!TraceLogSource.IsListening)
|
|
Logger.Sources.Add(TraceLogSource.CreateSource());
|
|
Logger.Sources.Add(TraceLogSource.CreateSource());
|
|
|
|
|
|
|
|
+ ReplayPreloaderLogs(preloaderLogEvents);
|
|
|
|
+
|
|
// Add Unity log source only after replaying to prevent duplication in console
|
|
// Add Unity log source only after replaying to prevent duplication in console
|
|
if (ConfigUnityLogging.Value)
|
|
if (ConfigUnityLogging.Value)
|
|
Logger.Sources.Add(new UnityLogSource());
|
|
Logger.Sources.Add(new UnityLogSource());
|