Skip to content
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

Refactor logging & prints to use regular Python loggers #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

michaelosthege
Copy link

Hi @cpr-bar,

we are starting to use this library to interface with our SCARA, and would like to start contributing bugfixes.

With this PR we would like to propose using the Python logging framework through named loggers, because it makes it easier to filter log events.

We also replaced prints in the examples by log messages such that we get timestamps.

Credits to the code changes go to @rapith777 who just began his thesis project with us.

Pithani and others added 2 commits March 18, 2025 13:31
updated logging chnages for second review feedback

updated and removed unnecessary stuff

Remove functional changes
@cpr-bar
Copy link
Collaborator

cpr-bar commented Mar 20, 2025

Hi @michaelosthege,

thank you for your and @rapith777's contribution.
There are multiple deadlines comming up, so I don't have the time to review and merge it within the next two weeks.
I will come back to you afterwards and will make sure it is included in the next release.

@michaelosthege
Copy link
Author

Hi @cpr-bar, thanks!

In the meantime we are working from our fork.

I will try to open separate PRs for any bugfixes.

Shall I also create a PR to add GitHub Actions to run a pre-commit and pytest?

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

Successfully merging this pull request may close these issues.

2 participants