From 71e2562c661f21e988bb0b060be8aa9e3011c07e Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Mon, 5 Apr 2021 23:58:33 +0200 Subject: [PATCH] feat: some logging for WindowSystem --- Dalamud/Interface/Windowing/WindowSystem.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dalamud/Interface/Windowing/WindowSystem.cs b/Dalamud/Interface/Windowing/WindowSystem.cs index 9e331dfb4..a42b51a18 100644 --- a/Dalamud/Interface/Windowing/WindowSystem.cs +++ b/Dalamud/Interface/Windowing/WindowSystem.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.Linq; using ImGuiNET; +using Serilog; namespace Dalamud.Interface.Windowing { @@ -68,6 +69,10 @@ namespace Dalamud.Interface.Windowing foreach (var window in this.windows) { +#if DEBUG + //Log.Verbose($"[WS{(hasNamespace ? "/" + this.Namespace : string.Empty)}] Drawing {window.WindowName}"); +#endif + window.DrawInternal(); }