-
Notifications
You must be signed in to change notification settings - Fork 15
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
Breaking: add verbose()
, controlled with verbose
#96
base: main
Are you sure you want to change the base?
Conversation
I think that this is the way it should be done. Without this feature I had to do an ugly hack in my GitLabForm app where I used |
Wdyt, @dmerejkowsky? |
in `setup()` and make `debug()` controlled with `debug` in setup. This will allow writing apps that have more granular level of verbosity: * quiet (warning-fatal) * normal (info-fatal), * verbose (verbose-fatal), * debug (debug-fatal = all).
47bbf55
to
d4746c5
Compare
If you are ok with such a change then I would add the appropriate docs and an upgrade guide, @dmerejkowsky. I think that an image showing the levels and the verbosity levels would help. I prepared a draft of such an image: |
After giving it more thought, I would like to apply some of the philosophy of a more user-friendly software development process taken from here https://gitlabform.github.io/gitlabform/#stability to
|
@gdubicki : sorry for the long delay - do you still want to work on this ? - your plan to do it in a non-breaking way looks like a good idea to me |
Hi, @dmerejkowsky! Yes, I might want to get back to this. PS Can you please add my PyPI account ( |
A gentle reminder, @dmerejkowsky :) |
in
setup()
and makedebug()
controlled withdebug
in setup.This will allow writing apps that have a more granular level of verbosity: