Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework alert module #12

Open
mrrogge opened this issue Mar 20, 2021 · 0 comments
Open

Rework alert module #12

mrrogge opened this issue Mar 20, 2021 · 0 comments

Comments

@mrrogge
Copy link
Owner

mrrogge commented Mar 20, 2021

I had some ideas for making the alert module more useful:

  1. The developer should be able to define custom alert messages and assign them to IDs. These alerts could then be raised by calling the module as a function and passing in the corresponding IDs.
  2. Each custom alert should have a configurable property that defines what happens when it is called. One mode could raise an error, another could print the message to the console, another could write out to a log file, and another could just do nothing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant