Closed
Bug 1927764
Opened 1 year ago
Closed 1 year ago
Text-Fragments: Use MOZ_LOG_FMT for log messages
Categories
(Core :: DOM: Navigation, task)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
136 Branch
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | fixed |
People
(Reporter: jjaschke, Assigned: r.kossel, Mentored)
Details
(Keywords: good-first-bug)
Attachments
(2 files)
Bug 1717448 introduced std::fmt into our code base. Using it for log messages should make the log messages less verbose and ugly.
| Reporter | ||
Updated•1 year ago
|
Mentor: jjaschke
Keywords: good-first-bug
| Reporter | ||
Comment 1•1 year ago
|
||
The Text Fragments code (especially the FragmentDirective class and the TextDirectiveUtil helper) make heavy use of logging.
This is currently done using a specialization of the MOZ_LOG macro.
Bug 1717448 introduced logging using std::format (documentation, example patch).
The specialized TEXT_FRAGMENT_LOG macros should be adapted to make use of MOZ_LOG_FMT, as well as all usages.
| Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → r.kossel
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•1 year ago
|
||
Pushed by jjaschke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0289dfc64fce
part 1: change logger macros of TextFragment to use MOZ_LOG_FMT. r=jjaschke
https://hg.mozilla.org/integration/autoland/rev/a62ffaa65df2
part 2: rename `sFragmentDirectiveLog` to `gFragmentDirectiveLog`. r=jjaschke
Comment 5•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0289dfc64fce
https://hg.mozilla.org/mozilla-central/rev/a62ffaa65df2
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox136:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•