-
Notifications
You must be signed in to change notification settings - Fork 77
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
Proper logging #13
Comments
click-log has existed for a long time and yesterday I even documented it |
Yes, I think click-log was a bit green last time I looked at this issue (and was thinking of it when moving it here). Thanks! |
API hasn't changed at all since a long time (mostly due to lacking feedback/userbase), and it's mostly just logging boilerplate code moved into a package. |
click-log has now existed for more than a year and hasn't changed at all. According to https://libraries.io/pypi/click-log there are 8 repositories dependent on it, though none of them have a significant popularity. On the other hand vdirsyncer isn't listed. |
Yes, it looks quite popular: https://github.com/search?utf8=%E2%9C%93&q=%22import+click_log%22&type=Code&ref=searchresults Yup, I'm okay with using it. |
It appears that GitHub's search is completely unusuable, this is also matched:
|
Yeah, lots of false positive, but if you scroll through them manually, you'll see there's lots of true positives too. |
* Add click-log Fix #13 * Fixup * Fixup * Changelog for verbosity option
This issue was moved from the issue tracker at GitLab.
Todoman currently has no way of emitting warnings, and a possibility to turn those warnings on and off. Warnings will probably be required for reporting invalid items (the current behavior is basically to ignore those, because logging handlers are not set up properly)
I'd like to rip out some code from vdirsyncer and pallets/click#278, and make a third-party package on click-contrib to provide such things. I think I'll have to wait for Click 5.0 before implementing this though.
The text was updated successfully, but these errors were encountered: