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

Add colors to log messages #10

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Add colors to log messages #10

wants to merge 8 commits into from

Conversation

Couto
Copy link

@Couto Couto commented Feb 12, 2012

I was in need for a small and useful utility that allowed different types of log messages, and I found yours… however since I log a lot of messages I needed colorful outputs to ease the task of looking for the right messages, since Log.js is so simple I decided to add colors to stdout messages.

My changes only affect stdout messages, I'm predicting that logging colors into files would be quite troublesome if they weren't parsed with the read method, also, I've added the colorful() method to turn colors on/off and edit your own colors, depending on the argument given.

Anyway, thanks for this small utility, is quite useful and simple to use =)

@atian25
Copy link

atian25 commented Sep 12, 2013

hi, @visionmedia will this merge to master?

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

Successfully merging this pull request may close these issues.

3 participants