xolox / python-coloredlogs

Colored terminal output for Python's logging module
https://coloredlogs.readthedocs.io
MIT License
542 stars 44 forks source link

[Feature request] Logbook support #46

Open Kristinita opened 6 years ago

Kristinita commented 6 years ago

1. Request

It would be nice, if you add logbook support — a popular alternative default logging module.

2. Justification

I don't find Python modules, that support logbook. If I use modules for custom colored output as pyfancy or colorama, I can highlight messages, but not CRITICAL, ERROR, WARNING, NOTICE, INFO and DEBUG words, example:

NOTICE

It would be nice, if would be possible to highlight all logbook output.

Thanks.

xolox commented 4 years ago

Hi Kristina and thanks for your interest. I don't use logbook and am not familiar (enough) with it. If someone proposes a pull request that integrates logbook support without compromising (too much) on the main implementation then I would seriously consider merging it, but I'm currently not inclined to research the topic in depth and build my own implementation that I would end up never using...