Skip to content

Add configurable logging level and nicegui keyword arguments to notify function #280

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pascalzauberzeug
Copy link
Contributor

The rosys.notify function always logged as info from rosys.rosys and did not relay NiceGUI keyword arguments so that i.e. the position could not be changed.

Before:

2025-04-28 10:49:53.654 [INFO] rosys/rosys.py:77: Test Message

After this change:

2025-04-28 10:51:02.194 [your loglevel] your_project/your_file.py:line: Test Message

@pascalzauberzeug pascalzauberzeug added the enhancement New feature or request label Apr 28, 2025
@pascalzauberzeug pascalzauberzeug added this to the 0.24.0 milestone Apr 28, 2025
@pascalzauberzeug pascalzauberzeug self-assigned this Apr 28, 2025
@pascalzauberzeug
Copy link
Contributor Author

@falkoschindler I just noticed that it does use the correct log level but doesn't respect the logging configuration of your file, since it still uses the RoSys logger.
Do we keep it that way or do we add the logger as a parameter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants