refactor(services): route logging through IPluginLogProxy

F12.2 step 5b — service cluster (~42 sites in 16 files):
MessageManager, GameFunctions/{Chat, GameFunctions, KeybindManager},
EmoteCache, PayloadHandler, AutoTellTabsService, FontManager, Commands,
Util/{WrapperUtil, AutoTranslate, MemoryUtil}, Message, Themes/ThemeRegistry,
Ipc/ExtraChat, Configuration.

The proxy interface gained Dalamud's params-overload signature
(messageTemplate + params object[]) to cover Configuration.cs:86 which
relies on Serilog-style placeholders.

Verified: zero remaining Plugin.Log.X(...) call-sites in HellionChat/,
build green, build-suite 690/690.
This commit is contained in:
2026-05-13 08:38:40 +02:00
parent 63cad62c89
commit fee2459e73
18 changed files with 78 additions and 42 deletions
+2 -2
View File
@@ -62,7 +62,7 @@ internal static class AutoTranslate
{
var sw = Stopwatch.StartNew();
AllEntries();
Plugin.Log.Debug($"Warming up auto-translate took {sw.ElapsedMilliseconds}ms");
Plugin.LogProxy.Debug($"Warming up auto-translate took {sw.ElapsedMilliseconds}ms");
})
{
IsBackground = true,
@@ -197,7 +197,7 @@ internal static class AutoTranslate
}
catch (Exception ex)
{
Plugin.Log.Error(ex, $"failed to translate: {lookup}");
Plugin.LogProxy.Error(ex, $"failed to translate: {lookup}");
}
}