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

Use tty to detect if we should add colors or not by default. #570

Merged
merged 2 commits into from
Nov 16, 2011
Merged

Use tty to detect if we should add colors or not by default. #570

merged 2 commits into from
Nov 16, 2011

Conversation

3rd-Eden
Copy link
Contributor

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.

@afanasy
Copy link

afanasy commented Oct 29, 2011

please pull :)

@dshaw
Copy link
Contributor

dshaw commented Nov 16, 2011

Nice.

rauchg added a commit that referenced this pull request Nov 16, 2011
Use tty to detect if we should add colors or not by default.
@rauchg rauchg merged commit dfb8521 into socketio:master Nov 16, 2011
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.

4 participants