Add colors to log messages #10

Open
wants to merge 8 commits into
from

Projects

None yet

3 participants

@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
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