devel/py-colorlog 6.9.0_1 MidnightBSD
Add colours to the output of Python logging module
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
Description
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 logging.Formatter.
- 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.
In the other systems
The newest version among them is 6.12.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/py-colorlog | 6.9.0_1 behind since 2026-07-08 | no data | - | [email protected] | - |
| FreeBSD | devel/py-colorlog | 6.12.0 newest | none known | - | [email protected] | 2026-08-31 |
| OpenBSD | devel/py-colorlog | 6.8.2p1 behind since 2026-07-08 | no data | - | Laurence Tratt <[email protected]> | - |
| NetBSD | devel/py-colorlog | 6.12.0 newest | none known | - | [email protected] | 2026-09-02 |
| DragonFly | devel/py-colorlog | 6.9.0 behind since 2026-07-08 | none known | - | [email protected] | - |
| HardenedBSD | devel/py-colorlog | 6.12.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-colorlog | 6.12.0 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}colorlog
From mports:
cd /usr/mports/devel/py-colorlog && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorlog>0:devel/py-colorlog
Dependency graph
Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 2
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| colorlog-6.9.0.tar.gz | 16624 | bfba54a1b93b94f54e1f4fe48395725a3d92fd2a4af702f6bd70946bdc0c6ac2 |
Master sites 1
- PYPI