feat(console): add an "App" toggle to show/hide [app] log lines

The console mixed RPC traces, daemon output, and the wallet's own "[app] ..."
log lines with no way to hide the latter. Add an "App" checkbox alongside the
existing Daemon/Errors/RPC toggles. Since [app] lines share COLOR_INFO with
other info text, the filter matches them by their "[app] " prefix rather than by
color. Default on; unit test + i18n added.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-13 12:52:42 -05:00
parent e7d11f620a
commit 5167b52cbd
6 changed files with 40 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ struct ConsoleOutputFilter {
bool daemonMessagesEnabled = true;
bool errorsOnly = false;
bool rpcTraceEnabled = false;
bool appMessagesEnabled = true; // "[app] ..." wallet log lines (matched by prefix, not color)
ImU32 daemonColor = 0;
ImU32 errorColor = 0;
ImU32 rpcTraceColor = 0;