Repository navigation
feat: support base logger configuration - #596
Merged
Merged
Conversation
nfelt14
requested changes
Jun 25, 2026
Contributor
Author
|
Moved the changelog entry under a new Verification:
|
nfelt14
previously approved these changes
Jun 26, 2026
nfelt14
previously approved these changes
Jun 26, 2026
Collaborator
|
According to the contribution guidelines, you need to make sure your commits are signed |
sanmaxdev
force-pushed
the
feat/base-logger-config
branch
from
June 26, 2026 19:48
85b6fb2 to
fb346a3
Compare
Contributor
Author
|
Thanks, I rewrote the branch so all commits are signed now. |
Contributor
Author
|
Pushed a small follow-up for the pylint failure. The logging format strings now live at module scope, which keeps Verified with:
|
nfelt14
previously approved these changes
Jun 29, 2026
# Conflicts: # CHANGELOG.md
nfelt14
approved these changes
Jul 8, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #596 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 166 166
Lines 4864 4866 +2
Branches 437 437
=========================================
+ Hits 4864 4866 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Test Results (macos)
|
Test Results (ubuntu)
|
Test Results (windows)
|
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed changes
Adds a
loggerparameter toconfigure_logging()so callers can derive the tm_devices logger from an existing application logger instead of always starting from the package logger name.Addresses #589
Types of changes
Checklist
Addresses #<issue_number>Testing
python -m pytest tests/test_logging.py -qpython -m compileall src/tm_devices/helpers/logging.pyruff check src/tm_devices/helpers/logging.py tests/test_logging.pygit diff --check