Open
Bug 2077111
Opened 1 month ago
Updated 21 hours ago
[meta] Modernize LogModule
Categories
(Core :: Gecko Profiler, task, P2)
Core
Gecko Profiler
Tracking
()
ASSIGNED
People
(Reporter: dcarver, Assigned: dcarver)
References
(Depends on 8 open bugs, Blocks 1 open bug)
Details
(Keywords: meta, Whiteboard: [fp][epic-fp-1415] )
Properties
Discoverability
We should be able to enumerate all the log modules (crossing languages).
Have a UI with search bar and let users configure without typing (error prone).
Coherence
crate::* is reserved for rust. We should probably forbid characters :, *, .
Automation
Tools/Tests to automatically detect log modules that are added/removed/invalid.
Plan
- Resolve inconsistencies
- Add a codegen step to generate a static list
- Build marker filtering at runtime bug 2069963 on top (LogModule can be used as the emission source of marker)
| Assignee | ||
Updated•1 month ago
|
Summary: Static list of log module → Modernize LogModule
| Assignee | ||
Updated•1 month ago
|
Updated•1 month ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/FP-1446
Updated•1 month ago
|
Summary: Modernize LogModule → [meta] Modernize LogModule
Updated•1 month ago
|
Whiteboard: [fp] → [fp][epic-fp-1415]
| Assignee | ||
Comment 1•1 month ago
|
||
ConsoleAPI is not in the scope of this work (they should migrate to console.createInstance which is in the scope of this work).
ConsoleAPI don't have individual LogModules they all go through the LogModule("Dump")
Updated•1 month ago
|
Severity: -- → N/A
Priority: -- → P2
| Assignee | ||
Comment 2•1 month ago
|
||
Florian asked me: Do we have a skill for claude to use MOZ_LOG? Or is doc good enough.
You need to log in
before you can comment on or make changes to this bug.
Description
•