Skip to content

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

@iamqiz

Description

@iamqiz

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions