{"repo":"borntyping/python-colorlog","free":true,"listed":false,"github":"https://github.com/borntyping/python-colorlog","clone":"git clone https://github.com/borntyping/python-colorlog.git","description":"A colored formatter for the python logging module","language":"Python","stars":966,"topics":["python","logging"],"license":"MIT","category":"analytics","readme_excerpt":"Log formatting with colors! Add colours to the output of Python's logging module. - Source on GitHub - Package on PyPI Status colorlog currently requires Python 3.6 or higher. Older versions (below 5.x.x) support Python 2.6 and above. - colorlog 6.x requires Python 3.6 or higher. - colorlog 5.x is an interim version that will warn Python 2 users to downgrade. - colorlog 4.x is the final version supporting Python 2. [colorama] is included as a dependency on Windows, where it is automatically initialised to support colored output. This library is over a decade old and supported a wide set of Python versions for most of its life, which has made it a difficult library to add new features to. colorlog 6 may break backwards compatibility so that newer features can be added more easily, but may still not accept all changes or feature requests. colorlog 4 might accept essential bugfixes but should not be considered actively maintained and will not accept any major changes or new features. Installation Install from PyPI with: Several Linux distributions provide official packages ([Debian], [Arch], [Fedora], [Gentoo], [OpenSuse] and [Ubuntu]), and others have user provided packages ([BSD ports], [Conda]). Usage Arguments ColoredFormatter extends [ logging.Formatter ][formatter] and accepts the following arguments: - fmt (default= None ) : A format string used to output the message. If None , a default format string is selected based on style (e.g. %(log color)s%(levelname)s:%(name)s:%(","default_branch":null,"files":null,"tree":[],"storefront":"/r/borntyping","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/borntyping/python-colorlog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}