| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This PR introduces structured logging with module-specific handlers throughout the Meshtastic codebase. The main purpose is to enable granular log level control for individual modules or the entire library.
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file| File | Description |
|---|---|
| meshtastic/util.py | Adds module logger and converts logging calls |
| meshtastic/tunnel.py | Adds module logger and converts logging calls |
| meshtastic/test.py | Adds module logger and converts logging calls |
| meshtastic/tcp_interface.py | Adds module logger and converts logging calls |
| meshtastic/stream_interface.py | Adds module logger and converts logging calls |
| meshtastic/serial_interface.py | Adds module logger and converts logging calls |
| meshtastic/remote_hardware.py | Adds module logger and converts logging calls |
| meshtastic/node.py | Adds module logger and converts logging calls |
| meshtastic/mesh_interface.py | Adds module logger and converts logging calls |
| meshtastic/ble_interface.py | Adds module logger and converts logging calls |
| meshtastic/main.py | Adds module logger and converts logging calls |
| meshtastic/init.py | Adds module logger and converts logging calls |
Sorry, something went wrong.
|
Looks pretty reasonable to me skimming from my phone; I'll throw copilot at it for now and set off CI, and try to give it a close look when I've next got a small block of time at a proper computer just in case there's anything finicky to spot. Thanks for the PR! |
Sorry, something went wrong.
- test are now runable on windows, some are ignored and a fake termios for the decorators - test_exit_with_exception with a true exception
|
@ianmcorvidae because the test test_exit_with_exception didnt raise a true exception, the test failed. I changed it and it should now report the traceback. Also i did some changes that windows users can run the tests (some are linux only atm) |
Sorry, something went wrong.
|
So.... i did a pytest and a pylint... please... be ok now 😅 |
Sorry, something went wrong.
|
Windows test (used host windows) with act -P ubuntu-latest=-self-hosted --matrix "python-version:3.12" -> ✅ |
Sorry, something went wrong.
Codecov Report❌ Patch coverage is 55.85586% with 98 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## master #812 +/- ##
==========================================
+ Coverage 60.13% 60.15% +0.01%
==========================================
Files 24 24
Lines 4219 4241 +22
==========================================
+ Hits 2537 2551 +14
- Misses 1682 1690 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
It is now possible to set loglevels for each module or for all per: