Closed Bug 972066 Opened 10 years ago Closed 5 years ago

Ability to specify the file and line-number for console.log

Categories

(DevTools :: Console, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: cowwoc2020, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36

Steps to reproduce:

Attempted to invoke console.log() from a wrapper function.


Actual results:

File and line number of wrapper function got logged, instead of the file and line number I was trying to do the logging for.


Expected results:

Wrapper functions should have the ability to specify what file and line number to associate with each logging entry. See https://code.google.com/p/chromium/issues/detail?id=231007 for a related discussion.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Untriaged → Developer Tools
Component: Developer Tools → Developer Tools: Console
OS: Windows 7 → All
Priority: -- → P3
Hardware: x86_64 → All
Product: Firefox → DevTools

this is something that should be spec'd before we look into it.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.