JavaScript: Process console.log() styles
Open
Feature
javascript
Waiting for: Product Owner
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 624
Description
### Problem Statement
It can be difficult to follow the console log on JavaScript projects when using [console log styling](https://developer.chrome.com/docs/devtools/console/format-style/#style-console-messages).
### Example of styled console messages in Chrome
### The same styled console messages in Sentry
### Solution Brainstorm
Ideally the styles would be applied with the same rules as browsers (where only the first parameter can contain `%c` style references).
Though not quite as nice, stripping the `%c` vars and the following format parameters (there will be one for each `%c`) would at least make it more readable.
### Product Area
Issues
Contributor guide
Assessment
This issue has not been assessed yet.