FreeBSD.software
Home/devel/py311-daiquiri

py311-daiquiri

3.4.0

Library to configure Python logging easily

Daiquiri is a Python library that simplifies the configuration and usage of Python's built-in logging module. It provides an easy-to-use interface for setting up basic logging functionalities, often with a single call to `daiquiri.setup()`. Key features include: - Flexible output options: logs to stderr (with colored output), syslog, systemd journal, or files. - Custom formatters: supports plain text and structured JSON logs. - Enhanced logger: allows passing keyword arguments to logging methods, which become part of the log record. - Warning handling: overrides Python's default warning behavior to log warnings via the logging system. - Exception handling: integrates with `sys.excepthook` to automatically log uncaught exceptions.

Origin: devel/py-daiquiri
Category: devel
Size: 190KiB
License: APACHE20
Maintainer: yuri@FreeBSD.org
Dependencies: 2 packages
Required by: 0 packages
$pkg install py311-daiquiri

Dependencies (2)

More in devel