diff options
Diffstat (limited to 'devel/py-daiquiri/pkg-descr')
-rw-r--r-- | devel/py-daiquiri/pkg-descr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/py-daiquiri/pkg-descr b/devel/py-daiquiri/pkg-descr new file mode 100644 index 000000000000..16f4e7a9417d --- /dev/null +++ b/devel/py-daiquiri/pkg-descr @@ -0,0 +1,15 @@ +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. |