-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
[core] Rework logging #1678
Merged
Merged
[core] Rework logging #1678
Commits on Oct 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f205f10 - Browse repository at this point
Copy the full SHA f205f10View commit details -
logger: deprecate sopel.logger.get_logger
It was a nice idea, having a shortcut to get a logger. However, logging is a python built-in, a de-facto standard since ages, so let's use it instead. Beside, the docstring is bonkers. Do not use `get_logger(__name__)`! Inside a python module `__name__` is its python dotted path. So for example in `sopel.modules.ip`, using `get_logger(__name__)` would mean using the logger `sopel.modules.sopel.modules.ip`... which is kind of dumb. For external plugins, it's best to provide a good "how to configure logging for your plugin" instead of using a bad shortcut function that doesn't do what you would expect.
Configuration menu - View commit details
-
Copy full SHA for 60ffeb5 - Browse repository at this point
Copy the full SHA 60ffeb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a437c65 - Browse repository at this point
Copy the full SHA a437c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3bedaf - Browse repository at this point
Copy the full SHA a3bedafView commit details -
Configuration menu - View commit details
-
Copy full SHA for f277164 - Browse repository at this point
Copy the full SHA f277164View commit details -
Configuration menu - View commit details
-
Copy full SHA for e18681b - Browse repository at this point
Copy the full SHA e18681bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e2f8c - Browse repository at this point
Copy the full SHA 97e2f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec26635 - Browse repository at this point
Copy the full SHA ec26635View commit details -
logging: format messages with colon when necessary
And also fix my English grammar, but it fits nicely with the theme of "fixing messages". Co-Authored-By: dgw <dgw@technobabbl.es>
Configuration menu - View commit details
-
Copy full SHA for 9fd7abc - Browse repository at this point
Copy the full SHA 9fd7abcView commit details -
Configuration menu - View commit details
-
Copy full SHA for da4b9ee - Browse repository at this point
Copy the full SHA da4b9eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f7e69d - Browse repository at this point
Copy the full SHA 3f7e69dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c7bc92 - Browse repository at this point
Copy the full SHA 8c7bc92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90299d3 - Browse repository at this point
Copy the full SHA 90299d3View commit details -
As per usual... ;-) Co-Authored-By: dgw <dgw@technobabbl.es>
Configuration menu - View commit details
-
Copy full SHA for 664813b - Browse repository at this point
Copy the full SHA 664813bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3eb872d - Browse repository at this point
Copy the full SHA 3eb872dView commit details -
logger: yet another grammar fix
Co-Authored-By: dgw <dgw@technobabbl.es>
Configuration menu - View commit details
-
Copy full SHA for 04fc212 - Browse repository at this point
Copy the full SHA 04fc212View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2c2d20 - Browse repository at this point
Copy the full SHA a2c2d20View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.