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

Better, simpler logging #46

Merged
merged 1 commit into from
Jun 28, 2018
Merged

Better, simpler logging #46

merged 1 commit into from
Jun 28, 2018

Conversation

domanchi
Copy link
Contributor

This is a long overdue clean up of how logging works.

Copy link
Collaborator

@KevinHock KevinHock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

debug_mode = 0
# Bind custom method to instance.
# Source: https://stackoverflow.com/a/2982
log.set_debug_level = _set_debug_level.__get__(log)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Martijn Pieters++

@domanchi domanchi merged commit 8a4f83f into master Jun 28, 2018
@domanchi domanchi deleted the better-logs branch June 28, 2018 00:58
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

Successfully merging this pull request may close these issues.

None yet

2 participants