def pushover(token: str, user: str, level: str)
Bind Pushover notifications to the MechWolf logger.
Pushover is an online service that takes care of most of the complexity of sending push notifications to mobile devices. This function handles the API calls and logger configuration: all you need to do is set up your Pushover account and download the app. At the time of this writing, the app is a one-time $5 purchase.
To set up an account, you will require a token and a user key. Please see this guide for more information.
token: Your Pushover token.
user: The user key for your account.
level: The logging level. See
Protocol.executefor the valid level strings.
import mechwolf as mw mw.plugins.pushover(YOUR_TOKEN, YOUR_USER_KEY, "info")
Built and maintained by:
|Benjamin Lee||Harvard University||@Benjamin-Lee|