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

Color on info level #19

Open
csalazar opened this issue Dec 6, 2018 · 2 comments · May be fixed by #26
Open

Color on info level #19

csalazar opened this issue Dec 6, 2018 · 2 comments · May be fixed by #26

Comments

@csalazar
Copy link

csalazar commented Dec 6, 2018

Hi @untitaker , I see that info output is not colorful, there's some reason for that? Maybe I can do a PR to add support?

Thanks!

@rqelibari
Copy link

rqelibari commented Feb 15, 2019

@csalazar Just run:

import logging;
import click_log;

[...]
click_log.ColorFormatter.colors['info'] = dict(fg="green")

This way all info tags should be green.

@BKDaugherty
Copy link

Also had this issue. This might be a good thing to add to documentation? How to customize colors? Or perhaps it might make more sense to add an optional parameter to the click_log constructor for colors?

Guts added a commit to Guts/click-log that referenced this issue Nov 17, 2020
@Guts Guts linked a pull request Nov 17, 2020 that will close this issue
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 a pull request may close this issue.

3 participants