-
Notifications
You must be signed in to change notification settings - Fork 106
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
No tty disabled colored output #7
Comments
@rphillips What do you mean by that? Currently, if no TTY is attached the formatter automatically switches to uncoloured output of the following format:
or you rather want to retain the original format but without colours? |
I am thinking the original format but without colours. |
This can be done if you implement the color theme I told you in an other issue. Just make a color scheme "NoColor", and force tty. Or am I missing something? |
@bastienbc I still think that these are two separate issues. I will add a switch here to disable logfmt output. And depending on TTY availability default output may be coloured or not. And separately there will be support of color schemes based on https://github.com/mgutz/ansi styling rules. |
Thank you @x-cray ! |
Thank you! |
Love the library. I may implement the colorized output formatter with the colors disabled without a tty for a project of mine . Is this a feature you have considered or planned?
The text was updated successfully, but these errors were encountered: