LearnBoost/socket.io — pull request #570 by 3rd-Eden (2011-10-11 18:13:12+00:00)
Title: Use tty to detect if we should add colors or not by default.

Incorporated tj's feedback in the logger. We should use tty to check if the output is redirected or not and set the default value of the `log colors` based on that.