devel/py-logzero 1.7.0_1 DragonFly
Robust and effective logging for Python
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 24.9 KiB, 127.1 KiB installed
Description
Robust and effective logging for Python 2 and 3.
- Easy logging to console and/or (rotating) file.
- Provides a fully configured standard Python logger object.
- Pretty formatting, including level-specific colors in the console.
- Windows color output supported by colorama
- Robust against str/bytes encoding problems, works with all kinds of character encodings and special characters.
- Multiple loggers can write to the same logfile (also across multiple Python files).
- Global default logger with logzero.logger and custom loggers with logzero.setup_logger(..).
- Compatible with Python 2 and 3.
- All contained in a single file.
- Licensed under the MIT license.
- Heavily inspired by the Tornado web framework.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-logzero | 1.7.0_1 |
| FreeBSD | devel/py-logzero | 1.7.0_1 |
| HardenedBSD | devel/py-logzero | 1.7.0_1 |
| GhostBSD | devel/py-logzero | 1.7.0_1 |
Install
Binary package:
pkg install py311-logzero
From DPorts:
cd /usr/dports/devel/py-logzero && make install clean