From 89384702b4eb598a49987e2789e58e49a94820c2 Mon Sep 17 00:00:00 2001 From: Jon Kazama Date: Sun, 17 May 2026 18:41:47 +0200 Subject: [PATCH] feat(logging): prepend fox-mini silhouette to DI-logger bootstrap banner Pulls the four-line fox-mini ASCII out of the embedded branding resources and writes each line through IPluginLog before the existing bootstrap line, so an /xllog reader sees the Hellion Forge mark on every plugin load. The text provenance ("by Julia Moon - Hellion Forge") follows the silhouette, then the version + fingerprint line stays where it was. Empty lines from the resource are skipped so the log stays compact. --- .../Logging/DalamudLoggingProvider.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/HellionChat/Infrastructure/Logging/DalamudLoggingProvider.cs b/HellionChat/Infrastructure/Logging/DalamudLoggingProvider.cs index ad948cb..42e837f 100644 --- a/HellionChat/Infrastructure/Logging/DalamudLoggingProvider.cs +++ b/HellionChat/Infrastructure/Logging/DalamudLoggingProvider.cs @@ -3,6 +3,7 @@ using System.Reflection; using System.Security.Cryptography; using System.Text; using Dalamud.Plugin.Services; +using HellionChat.Branding; using Microsoft.Extensions.Logging; namespace HellionChat.Infrastructure.Logging; @@ -26,12 +27,22 @@ public sealed class DalamudLoggingProvider : ILoggerProvider } // One-shot per plugin load. Intentionally visible in xllog so uncredited - // ports of the DalamudLogger trio keep announcing their origin. + // ports of the DalamudLogger trio keep announcing their origin — the + // mini fox silhouette goes first, then the textual provenance line. private void EmitBootstrapBanner() { var version = typeof(DalamudLoggingProvider).Assembly.GetName().Version?.ToString() ?? "0.0.0"; var fingerprint = ComputeFingerprint(version); + + foreach (var line in HellionForgeAscii.FoxMini.Split('\n')) + { + var trimmed = line.TrimEnd('\r'); + if (trimmed.Length > 0) + _pluginLog.Information(trimmed); + } + + _pluginLog.Information("by Julia Moon - Hellion Forge"); _pluginLog.Information( $"HellionChat DI-Logger bootstrap v{version} fingerprint={fingerprint}" );