logatim
logatim copied to clipboard
Restore original color?
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!
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.