Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #213 +/- ##
==========================================
+ Coverage 64.94% 65.44% +0.49%
==========================================
Files 36 36
Lines 6810 6836 +26
==========================================
+ Hits 4423 4474 +51
+ Misses 2387 2362 -25 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull Request Overview
This PR enables console logging by adding a configurable log level dropdown to the status bar and setting up both file and console output streams. The changes allow users to dynamically adjust logging levels through the GUI and configure the default level via an environment variable.
- Adds a log level dropdown widget to the main window's status bar with dynamic level changing
- Configures console logging output alongside existing file logging
- Changes log filename from
refred_m.logtoquicknxs.log
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/quicknxs/interfaces/event_handlers/main_handler.py | Adds log level dropdown UI component and methods to get/set logging levels |
| src/quicknxs/gui.py | Configures logging with environment variable support and adds console stream handler |
| pyproject.toml | Updates vulnerability ignore list for dependency auditing |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
it may be worth adding some simple tests:
|
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
test/unit/quicknxs/interfaces/event_handlers/test_main_handler.py
Outdated
Show resolved
Hide resolved
bcbdf92 to
6896c85
Compare
6896c85 to
f6a3ce5
Compare
Description of work:
This changes the filename of the log from
refred_m.logtoquicknxs.logand adds aStreamHandlerto also log to the console. The log level can be configured by a drop down menu in status bar of the main window. The default log level can be set withQUICKNXS_LOGLEVELenvironment variable but is set to INFO variable is unset.Check all that apply:
(if not, provide an explanation in the work description)
References:
(instructions to set up the environment)
Open the QuickNXS GUI
Check list for the reviewer