forked from liza/ARDiscard
Adjust log levels
This commit is contained in:
parent
a94c5077fc
commit
56f6e949fc
@ -199,7 +199,7 @@ public class AutoDiscardPlogon : IDalamudPlugin
|
|||||||
var addon = GetDiscardAddon();
|
var addon = GetDiscardAddon();
|
||||||
if (addon != null)
|
if (addon != null)
|
||||||
{
|
{
|
||||||
_pluginLog.Information("Addon is visible, clicking 'yes'");
|
_pluginLog.Verbose("Addon is visible, clicking 'yes'");
|
||||||
((AddonSelectYesno*)addon)->YesButton->AtkComponentBase.SetEnabledState(true);
|
((AddonSelectYesno*)addon)->YesButton->AtkComponentBase.SetEnabledState(true);
|
||||||
addon->FireCallbackInt(0);
|
addon->FireCallbackInt(0);
|
||||||
|
|
||||||
@ -249,7 +249,7 @@ public class AutoDiscardPlogon : IDalamudPlugin
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_pluginLog.Information(
|
_pluginLog.Verbose(
|
||||||
$"ContinueAfterDiscard: Waiting for server response until {_cancelDiscardAfter}");
|
$"ContinueAfterDiscard: Waiting for server response until {_cancelDiscardAfter}");
|
||||||
_taskManager.DelayNext(20);
|
_taskManager.DelayNext(20);
|
||||||
_taskManager.Enqueue(() => ContinueAfterDiscard(type, itemFilter, inventoryType, slot));
|
_taskManager.Enqueue(() => ContinueAfterDiscard(type, itemFilter, inventoryType, slot));
|
||||||
|
@ -139,7 +139,7 @@ internal sealed class InventoryUtils
|
|||||||
//PluginLog.Verbose($"{i} → {item->ItemID}");
|
//PluginLog.Verbose($"{i} → {item->ItemID}");
|
||||||
if (_configuration.DiscardingItems.Contains(item->ItemID))
|
if (_configuration.DiscardingItems.Contains(item->ItemID))
|
||||||
{
|
{
|
||||||
_pluginLog.Information(
|
_pluginLog.Verbose(
|
||||||
$"Found item {item->ItemID} to discard in inventory {inventoryType} in slot {i}");
|
$"Found item {item->ItemID} to discard in inventory {inventoryType} in slot {i}");
|
||||||
toDiscard.Add(new ItemWrapper { InventoryItem = item });
|
toDiscard.Add(new ItemWrapper { InventoryItem = item });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user