Adjust log levels

This commit is contained in:
Liza 2024-02-06 18:26:37 +01:00
parent a94c5077fc
commit 56f6e949fc
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 3 additions and 3 deletions

View File

@ -199,7 +199,7 @@ public class AutoDiscardPlogon : IDalamudPlugin
var addon = GetDiscardAddon();
if (addon != null)
{
_pluginLog.Information("Addon is visible, clicking 'yes'");
_pluginLog.Verbose("Addon is visible, clicking 'yes'");
((AddonSelectYesno*)addon)->YesButton->AtkComponentBase.SetEnabledState(true);
addon->FireCallbackInt(0);
@ -249,7 +249,7 @@ public class AutoDiscardPlogon : IDalamudPlugin
}
else
{
_pluginLog.Information(
_pluginLog.Verbose(
$"ContinueAfterDiscard: Waiting for server response until {_cancelDiscardAfter}");
_taskManager.DelayNext(20);
_taskManager.Enqueue(() => ContinueAfterDiscard(type, itemFilter, inventoryType, slot));

View File

@ -139,7 +139,7 @@ internal sealed class InventoryUtils
//PluginLog.Verbose($"{i} → {item->ItemID}");
if (_configuration.DiscardingItems.Contains(item->ItemID))
{
_pluginLog.Information(
_pluginLog.Verbose(
$"Found item {item->ItemID} to discard in inventory {inventoryType} in slot {i}");
toDiscard.Add(new ItemWrapper { InventoryItem = item });
}