-
Notifications
You must be signed in to change notification settings - Fork 95
Add click-log #106
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
Add click-log #106
Conversation
WhyNotHugo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, cool, we don't need to replace all the logger calls. Didn't know that, nice!
todoman/cli.py
Outdated
| TODO_ID_MIN = 1 | ||
| with_id_arg = click.argument('id', type=click.IntRange(min=TODO_ID_MIN)) | ||
|
|
||
| logger = logging.getLogger(__name__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this logger?
todoman/cli.py
Outdated
|
|
||
|
|
||
| @click.group(invoke_without_command=True) | ||
| @click_log.init('vdirsyncer') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todoman 😛
|
Fixed both of your comments. |
WhyNotHugo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to merge after reviewing the changelog.
| v2.1.0 | ||
| ------ | ||
|
|
||
| * New PyPI dependency ``click-log``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also mention the new --verbosity flag.
| v2.1.0 | ||
| ------ | ||
|
|
||
| * The global ``--verbosity`` option has been introduced. It doesn't do much for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 😆
Fix #13