pyLanguagetool
pyLanguagetool copied to clipboard
verbosity
organize errors, warnings, notices (with colors)
Hi @Findus23 love the package, just stumbled on it. If you ever need help, let me know.
Regarding the issue at hand, a good approach is to use logging and to set up a console log writer in the __main__
function. This way you can easy handle different verbosity level, and they are also available for API uses and not only for CLI users.
If you need some inspiration, this might serve useful: https://github.com/codingjoe/deelight/blob/master/deelight/main.py
Glad you like it!
I never got around to adding logging as honestly there isn't that much that could be logged.