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

do verbose logging unless its a linux console #90

Merged
merged 1 commit into from
Mar 11, 2016

Conversation

jakemac53
Copy link
Contributor

This makes atom/intellij consoles work as expected

@jakemac53 jakemac53 added this to the 0.2.1 milestone Mar 11, 2016
@kevmoo
Copy link
Member

kevmoo commented Mar 11, 2016

Different on mac?

@jakemac53
Copy link
Contributor Author

by linux I really meant !windows. I haven't actually tried on a mac console but it the condensed logger should work.

final _yellow = _isLinuxConsole ? '\u001b[33m' : '';
final _red = _isLinuxConsole ? '\u001b[31m' : '';
final _endColor = _isLinuxConsole ? '\u001b[0m' : '';
final _isLinuxConsole =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... _isPosixConsole?

@kevmoo
Copy link
Member

kevmoo commented Mar 11, 2016

otherwise, LGTM ...or _isPosixTerminal

@jakemac53 jakemac53 force-pushed the verbose-logging-if-not-console branch from b7c419b to 1f694e0 Compare March 11, 2016 22:46
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.

2 participants