Closed
Bug 1171348
Opened 10 years ago
Closed 10 years ago
Switch password manager to richer logging via console.jsm
Categories
(Toolkit :: Password Manager, enhancement)
Toolkit
Password Manager
Tracking
()
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: MattN, Assigned: MattN)
Details
Attachments
(2 files)
541.28 KB,
image/png
|
Details | |
MozReview Request: Bug 1171348 - Switch password manager to richer logging via Console.jsm. r?dolske
40 bytes,
text/x-review-board-request
|
Dolske
:
review+
|
Details |
For LoginRecipes.jsm I made a helper to log via console.jsm to reduce the boilerplate and provider richer logging and the ability for finer grained logging levels in the future.
Being able to easily log DOM elements or other objects and inspect them speeds up development and debugging. Being able to jump right to the line that did the logging is also very useful too.
While I was touching logging prefixes, I made all modules contain the word "Login" so it's easier to filter for relevant messages.
Assignee | ||
Comment 1•10 years ago
|
||
Bug 1171348 - Switch password manager to richer logging via Console.jsm. r?dolske
Attachment #8615126 -
Flags: review?(dolske)
Assignee | ||
Comment 2•10 years ago
|
||
I avoided changing the calls to `log` for now to avoid bitrotting patches/uplifts.
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=fdacdc578050
Comment 3•10 years ago
|
||
Thanks for doing this! :-)
Comment 4•10 years ago
|
||
Comment on attachment 8615126 [details]
MozReview Request: Bug 1171348 - Switch password manager to richer logging via Console.jsm. r?dolske
https://reviewboard.mozilla.org/r/10179/#review9015
Ship It!
Attachment #8615126 -
Flags: review?(dolske) → review+
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Comment 7•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•