Add (in console) easier to find console.log output

RESOLVED FIXED in Firefox 67

Status

enhancement
P3
normal
RESOLVED FIXED
4 months ago
4 months ago

People

(Reporter: ogasidlo, Assigned: sakshaat.dc)

Tracking

({good-first-bug})

unspecified
Firefox 67

Firefox Tracking Flags

(firefox67 fixed)

Details

(Whiteboard: dt-docs)

Attachments

(1 attachment)

(Reporter)

Description

4 months ago

Add additional line to make console.log output easier to find.

Change in devtools/docs/contributing/fixing-bugs.md - line 61

// For front-end code
console.log('hello friends\n');

to following

// For front-end code
console.log('hello friends\n');

// Sometimes it's hard to spot your output. Emojis can help here really well.
console.log('👗👗👗', 'This is your logged output!');

(Assignee)

Comment 1

4 months ago

Hi, I am looking for a first bug to start with, would it be possible for me to contribute to this? Thanks!

Flags: needinfo?(ogasidlo)
(Reporter)

Comment 2

4 months ago

Hi Sakshaat,

sure. Feel free to grab this one and work on it.

Flags: needinfo?(ogasidlo)
(Assignee)

Comment 3

4 months ago

This just adds a line to the documentation to make console.log outputs easier to find by adding an emoji.

Comment 4

4 months ago
Pushed by pbrosset@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d43673c2a486
Adds an additional line in to make console.log output easier to find r=Ola

Comment 5

4 months ago
bugherder
Status: NEW → RESOLVED
Last Resolved: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
Assignee: nobody → sakshaat.dc
You need to log in before you can comment on or make changes to this bug.