From 1bf144e1f5b87d30c343b21d9b15ef3fce37891a Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Fri, 13 Aug 2021 16:30:59 +0200 Subject: [PATCH] Changed some pluginLog outputs from VRB to DBG --- Penumbra.PlayerWatch/PlayerWatchBase.cs | 6 +++--- Penumbra/Mods/ModCollection.cs | 4 ++-- Penumbra/UI/MenuTabs/TabInstalled/ModListCache.cs | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Penumbra.PlayerWatch/PlayerWatchBase.cs b/Penumbra.PlayerWatch/PlayerWatchBase.cs index 1a43cbf7..6ec1db19 100644 --- a/Penumbra.PlayerWatch/PlayerWatchBase.cs +++ b/Penumbra.PlayerWatch/PlayerWatchBase.cs @@ -127,7 +127,7 @@ namespace Penumbra.PlayerWatch internal void Clear() { - PluginLog.Verbose( "Clearing PlayerWatcher Store." ); + PluginLog.Debug( "Clearing PlayerWatcher Store." ); _cancel = true; foreach( var kvp in _equip ) { @@ -139,7 +139,7 @@ namespace Penumbra.PlayerWatch private static void TriggerEvents( IEnumerable< PlayerWatcher > watchers, Actor actor ) { - PluginLog.Verbose( "Triggering events for {ActorName} at 0x{Address:X16}.", actor.Name, actor.Address ); + PluginLog.Debug( "Triggering events for {ActorName} at {Address}.", actor.Name, actor.Address ); foreach( var watcher in watchers.Where( w => w.Active ) ) { watcher.Trigger( actor ); @@ -231,7 +231,7 @@ namespace Penumbra.PlayerWatch return; } - PluginLog.Verbose( "Comparing Gear for {ActorName}...", actor.Name ); + PluginLog.Verbose( "Comparing Gear for {ActorName} at {Address}...", actor.Name, actor.Address ); if( !equip.Item1.CompareAndUpdate( actor ) ) { TriggerEvents( equip.Item2, actor ); diff --git a/Penumbra/Mods/ModCollection.cs b/Penumbra/Mods/ModCollection.cs index 903fc402..adf07a5a 100644 --- a/Penumbra/Mods/ModCollection.cs +++ b/Penumbra/Mods/ModCollection.cs @@ -37,7 +37,7 @@ namespace Penumbra.Mods public Mod.Mod GetMod( ModData mod ) { - if( Cache != null && Cache.AvailableMods.TryGetValue( mod.BasePath.Name, out var ret )) + if( Cache != null && Cache.AvailableMods.TryGetValue( mod.BasePath.Name, out var ret ) ) { return ret; } @@ -129,7 +129,7 @@ namespace Penumbra.Mods public void CalculateEffectiveFileList( DirectoryInfo modDir, bool withMetaManipulations, bool activeCollection ) { - PluginLog.Verbose( "Recalculating effective file list for {CollectionName} [{WithMetaManipulations}] [{IsActiveCollection}]", Name, + PluginLog.Debug( "Recalculating effective file list for {CollectionName} [{WithMetaManipulations}] [{IsActiveCollection}]", Name, withMetaManipulations, activeCollection ); Cache ??= new ModCollectionCache( Name, modDir ); UpdateSettings(); diff --git a/Penumbra/UI/MenuTabs/TabInstalled/ModListCache.cs b/Penumbra/UI/MenuTabs/TabInstalled/ModListCache.cs index 55dada0d..648bc125 100644 --- a/Penumbra/UI/MenuTabs/TabInstalled/ModListCache.cs +++ b/Penumbra/UI/MenuTabs/TabInstalled/ModListCache.cs @@ -109,7 +109,7 @@ namespace Penumbra.UI _visibleMods.Clear(); _visibleFolders.Clear(); - PluginLog.Verbose( "Resetting mod selector list..." ); + PluginLog.Debug( "Resetting mod selector list..." ); if( !_modsInOrder.Any() ) { foreach( var modData in _manager.StructuredMods.AllMods( _manager.Config.SortFoldersFirst ) ) @@ -125,7 +125,7 @@ namespace Penumbra.UI { _visibleMods.Clear(); _visibleFolders.Clear(); - PluginLog.Verbose( "Resetting mod selector filters..." ); + PluginLog.Debug( "Resetting mod selector filters..." ); foreach( var mod in _modsInOrder ) { _visibleMods.Add( CheckFilters( mod ) );