refactor: use new plugin log

This commit is contained in:
Anna
2023-10-14 19:32:10 -04:00
parent 45fe83f1b0
commit 357bc2bb6f
8 changed files with 13 additions and 20 deletions
+1 -2
View File
@@ -6,7 +6,6 @@ using ChatTwo.Resources;
using ChatTwo.Util;
using Dalamud.Game.Text;
using Dalamud.Game.Text.SeStringHandling;
using Dalamud.Logging;
using Dalamud.Plugin.Services;
using ImGuiNET;
using LiteDB;
@@ -250,7 +249,7 @@ internal class Store : IDisposable {
var lastId = ObjectId.Empty;
for (var i = 0; i < rounds; i++) {
this._migrateCurrent = i + 1;
PluginLog.Log($"Update round {i + 1}/{rounds}");
Plugin.Log.Info($"Update round {i + 1}/{rounds}");
var messages = this.Messages.Query()
.OrderBy(msg => msg.Id)
.Where(msg => msg.Id > lastId)