Add some log statements.

This commit is contained in:
Ottermandias 2023-10-08 13:19:01 +02:00
parent 717ddba8d2
commit 4378c826f0
7 changed files with 25 additions and 9 deletions

View file

@ -325,6 +325,7 @@ public class ActiveCollections : ISavable, IDisposable
/// </summary>
private void LoadCollections()
{
Penumbra.Log.Debug("[Collections] Reading collection assignments...");
var configChanged = !Load(_saveService.FileNames, out var jObject);
// Load the default collection. If the string does not exist take the Default name if no file existed or the Empty name if one existed.
@ -389,6 +390,8 @@ public class ActiveCollections : ISavable, IDisposable
}
}
Penumbra.Log.Debug("[Collections] Loaded non-individual collection assignments.");
configChanged |= ActiveCollectionMigration.MigrateIndividualCollections(_storage, Individuals, jObject);
configChanged |= Individuals.ReadJObject(_saveService, this, jObject[nameof(Individuals)] as JArray, _storage);