freebsd-ports/devel/py-logzero/pkg-descr
Neal Nelson 1570b78b94 devel/py-logzero: Add new port
Robust and effective logging for Python 2 and 3.

PR:		256924
2021-10-28 16:17:17 +09:00

18 lines
769 B
Text

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.
WWW: https://github.com/metachris/logzero