Skip to content

Colored output for console.log #1274

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

Closed
amjd opened this issue Nov 28, 2015 · 5 comments
Closed

Colored output for console.log #1274

amjd opened this issue Nov 28, 2015 · 5 comments

Comments

@amjd
Copy link

amjd commented Nov 28, 2015

This is a suggestion for console.loging during LiveSync or the usual way or running the apps.
At present, the logged text looks like this:

JS: Text goes here

It's easy for the messages to get lost in the stream of output. It would be great if the log messages could be colored partially or completely so they are hard to miss. Also, this could be implemented in combination with a timestamp, which would address #1263.

[console.log | 12:34:56 PM] Text goes here

or

[12:34:56 PM] Text goes here

where the text inside the square brackets would be colored and/or bold.

I think this would greatly improve the debugging experience. Please look into whether it's feasible to add this.

@stephenfeather
Copy link
Contributor

Colorization should be optional/configurable.
Not everyone uses the same terminal backgrounds colors.
Not everyone has eyes that work the same as everyone else (color blindness, etc)

@TheBrousse
Copy link

I would be for enabling it by default and have a cli option allowing users to modify or deactivate it altogether.

@rosen-vladimirov
Copy link
Contributor

Hi,

At the moment, we are filtering device logs, so it is harder to miss the console.log messages

@ligaz
Copy link

ligaz commented Feb 26, 2016

Merging this into #719

@ligaz ligaz closed this as completed Feb 26, 2016
@sylwesterdigital
Copy link

2021, still missing typical for shell ANSI coloring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants