Add a logging.Handler sub-class 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.
Add a
logging.Handlersub-class so that Python projects can re-use a user's~/.ntfy.ymlconfiguration to send application-specific notifications using itsloggingconfiguration. An application could then use itsloggingconfiguration to send notifications, for example for all messages of levelWARNINGorERROR, or any of the other useful waysloggingcan be configured.