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

Restore original color? #24

Open
thealjey opened this issue Dec 16, 2016 · 1 comment
Open

Restore original color? #24

thealjey opened this issue Dec 16, 2016 · 1 comment

Comments

@thealjey
Copy link

logatim.bgRed('Error').info(`: ${message}`);

I basically want the part after the colon to not have any styles at all, revert back to default.
Is there a method to reset styles? I couldn't find any real API docs, just a pretty page with not that much of any useful info in it.

The idea behind this library is great, I would really love to use it, I'm just trying to understand how.

Thank you!

@ansongoldade
Copy link

I'd like to know how to do this as well. My scenario is logging information returned from JSON linting. I want a few characters before and after the location of the linting error to be red and everything on either side to be the default console style.

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

2 participants