Optimize console log capture in production

Only capture log/info levels in dev builds or when verbose mode is
explicitly enabled in Developer Mode. Always capture error/warn for
bug tracking. Reduces GC/CPU overhead in production builds.

Adds toggle in Settings > Developer Mode to enable verbose capture
when debugging production issues.
This commit is contained in:
vicrodh committed 2026-02-12 13:34:02 -06:00
1 parent 51a24de9cb
commit 14e657e8af
6 files changed
+96 -9

No files matched your search

+5 -1
View File
@@ -868,7 +868,11 @@
"uploadSuccess": "Log URL copied to clipboard",
"uploadError": "Failed to upload logs",
"uploading": "Uploading...",
"bugReportHint": "Reporting a bug? Upload both tabs and share both URLs — it helps us fix things faster. Thanks!"
"bugReportHint": "Reporting a bug? Upload both tabs and share both URLs — it helps us fix things faster. Thanks!",
"verboseLogCapture": "Verbose Log Capture",
"verboseLogCaptureDesc": "Capture all console logs (log/info), not just errors. Uses more memory.",
"verboseLogEnabled": "Verbose log capture enabled",
"verboseLogDisabled": "Verbose log capture disabled"
},
"blacklist": {
"title": "Artist Blacklist",