Fix missing plugin names in log, filter quirk

- Re-add the [PluginName] tag to plugin log messages
- Remove source prepending from the SerilogEventSink
- Force a filter refresh on enabling/disabling log filtering
- Convert ModuleLog to properly tag its messages with SourceContext
This commit is contained in:
Kaz Wolfe 2022-09-10 14:53:44 -07:00
parent 49793a1f17
commit 5dd883db25
No known key found for this signature in database
GPG key ID: 258813F53A16EBB4
4 changed files with 44 additions and 22 deletions

View file

@ -152,7 +152,10 @@ namespace Dalamud.Interface.Internal.Windows
// Filter menu
if (ImGui.BeginPopup("Filters"))
{
ImGui.Checkbox("Enabled", ref this.isFiltered);
if (ImGui.Checkbox("Enabled", ref this.isFiltered))
{
this.Refilter();
}
if (ImGui.InputTextWithHint("##filterText", "Text Filter", ref this.textFilter, 255, ImGuiInputTextFlags.EnterReturnsTrue))
{