dschep / dschep/ntfy

feat(log): Add a logging handler for use from Python

Open
#275 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

Add [a `logging.Handler` sub-class](https://docs.python.org/3/howto/logging.html#handlers) so that Python projects can re-use a user's `~/.ntfy.yml` configuration to send application-specific notifications using its `logging` configuration. An application could then use its `logging` configuration to send notifications, for example for all messages of level `WARNING` or `ERROR`, or any of the other useful ways `logging` can be configured.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.