Open Bug 1948870 Opened 1 year ago Updated 11 months ago

Add support for console.context(name)

Categories

(DevTools :: Console, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: parity-chrome, spec-needed)

Attachments

(1 external file)

The function returns a new console object which can be used like global.console , and would add the context name in the logged messages so it can then be used in the frontend to filter out messages

The method is not part of the spec, but there is an opened issue for that: https://github.com/whatwg/console/issues/193

See https://devtoolstips.org/tips/en/create-contextual-console-loggers/ for more information

Priority: -- → P3
Attachment #9491143 - Attachment description: WIP: Bug 1948870 - [devtools] Implement console.context. → WIP: Bug 1948870 - Implement console.context.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: