xolox / python-coloredlogs

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

Add defaults parameter to ColoredFormatter.__init__ in python3.10+ #108

Open dhouck opened 2 years ago

dhouck commented 2 years ago

Python 3.10 added a defaults argument to the Formatter.__init__ to enable you to use custom fields in the format string. Itʼd be nice if ColoredFormatter and coloredlogs.install supported this too.