py27-colorlog - Python module for log formatting with colors

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Quarterly i386
Package filename py27-colorlog-4.0.2.txz
Package name py27-colorlog
Package version 4.0.2
Package release -
Package architecture i386
Package type txz
Category devel python
License MIT
Download size 18.12 KB
Installed size 96.38 KB
colorlog.ColoredFormatter is a formatter for use with Python's logging module
that outputs records using terminal colors.
The ColoredFormatter class takes several arguments:
- format: The format string used to output the message (required).
- datefmt: An optional date format passed to the base class. See
- reset: Implicitly adds a color reset code to the message output, unless the
output already ends with one. Defaults to True.
- log_colors: A mapping of record level names to color names. The defaults can
be found in colorlog.default_log_colors.
- secondary_log_colors: A mapping of names to log_colors style mappings,
defining additional colors that can be used in format strings.
- style: Available on Python 3.2 and above. See logging.Formatter.
- DOCS: on


Package Version Architecture Repository
py27-colorlog-4.0.2.txz 4.0.2 amd64 FreeBSD Ports Quarterly
py27-colorlog-4.0.2.txz 4.0.2 i386 FreeBSD Ports Latest
py27-colorlog-4.0.2.txz 4.0.2 amd64 FreeBSD Ports Latest
py27-colorlog - - -


Name Value
py27-setuptools = 40.8.0
python27 = 2.7.16


Type URL
Binary Package py27-colorlog-4.0.2.txz
Source Package devel/py-colorlog

Install Howto

Install py27-colorlog txz package:

# pkg install py27-colorlog

See Also

Package Description
py27-colormath-3.0.0_1.txz Module that spares the user from directly dealing with color math
py27-colour-0.1.5.txz Python colour representations manipulation library
py27-columnize-0.3.9.txz Format a simple (i.e. not nested) list into aligned columns
py27-compreffor-0.4.6_2.txz CFF subroutinizer for fontTools
py27-conditional-1.0.txz Conditionally enter a context manager
py27-configargparse-0.14.0.txz Drop-in replacement for argparse
py27-configobj-5.0.6_1.txz Simple but powerful config file reader and writer
py27-configparser-3.5.3_1,1.txz INI style configuration file parser
py27-confluent-kafka-1.1.0.txz Confluent Apache Kafka Python client
py27-confusable_homoglyphs-3.2.0_1.txz Detect confusable usage of unicode homoglyphs
py27-constantly-15.1.0.txz Provides symbolic constant support to Python projects
py27-construct-2.9.45,1.txz Python module for parsing and building of data structures
py27-contextlib2-0.5.5.txz Backports and enhancements for the contextlib module
py27-convertdate-2.1.3_1.txz Converts between Gregorian dates and other calendar systems
py27-cookiecutter-1.6.0_1.txz Create projects from cookiecutters (project templates)