update logging and add pl splash as the main one
All checks were successful
Build / Build Launcher (push) Successful in 2m31s

This commit is contained in:
zznty
2024-05-31 17:12:08 +07:00
parent fc69ee8e83
commit 9fb29d2011
28 changed files with 364 additions and 318 deletions

View File

@@ -21,7 +21,7 @@ public static class Patch_MyDefinitionManager
var data = list[id];
if (data is ModPlugin mod && !currentMods.Contains(mod.WorkshopId) && mod.Exists)
{
LogFile.WriteLine("Loading client mod definitions for " + mod.WorkshopId);
LogFile.Log.Debug("Loading client mod definitions for " + mod.WorkshopId);
newMods.Add(mod.GetModItem());
}
}
@@ -30,7 +30,7 @@ public static class Patch_MyDefinitionManager
}
catch (Exception e)
{
LogFile.WriteLine("An error occured while loading client mods: " + e);
LogFile.Log.Debug("An error occured while loading client mods: " + e);
throw;
}
}