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

hope add predefined level such as colorlog.ERROR colorlog.DEBUG and so on #111

Closed
iamqiz opened this issue Aug 22, 2021 · 1 comment
Closed
Assignees

Comments

@iamqiz
Copy link

iamqiz commented Aug 22, 2021

firstly,thanks you very much to develop the nice project;

here is my question:

when I use logger.setLevel ,i want use colorlog.XXXXX instead of logging.XXXX as level
my code now is:

import colorlog
logger=colorlog.getLogger("test_colorlog")
import logging
logger.setLevel(logging.DEBUG)

but i hope:

import colorlog
logger=colorlog.getLogger("test_colorlog")
logger.setLevel(colorlog.DEBUG)

Would you consider adding this feature? thanks

@borntyping borntyping self-assigned this Aug 22, 2021
@borntyping
Copy link
Owner

Released in 6.4.1, thanks!

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

No branches or pull requests

2 participants