Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript: Process console.log() styles #49804

Open
ziemkowski opened this issue May 25, 2023 · 2 comments
Open

JavaScript: Process console.log() styles #49804

ziemkowski opened this issue May 25, 2023 · 2 comments

Comments

@ziemkowski
Copy link

Problem Statement

It can be difficult to follow the console log on JavaScript projects when using console log styling.

Example of styled console messages in Chrome

Screenshot 2023-05-25 at 12 10 52

The same styled console messages in Sentry

Screenshot 2023-05-25 at 12 11 44

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

@getsantry
Copy link
Contributor

getsantry bot commented May 25, 2023

Assigning to @getsentry/support for routing, due by Friday, May 26th at 1:19 pm (sfo). ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented May 27, 2023

Routing to @getsentry/product-owners-issues for triage, due by Wednesday, May 31st at 5:00 pm (sfo). ⏲️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

5 participants