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

Colored text #11

Open
paarthenon opened this issue Aug 12, 2022 · 0 comments
Open

Colored text #11

paarthenon opened this issue Aug 12, 2022 · 0 comments

Comments

@paarthenon
Copy link
Owner

You can't be a fancy Web X.0 logger without the ability to print red and green. Explore a terminal logger that takes colors into account.

Also: Explore the possibility of tagged template literals to render text. Something like...

log.info('There were', red`${errorCount} errors`, in your output);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant