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

[Feature] Use a logger instead of print statements #92

Open
dstansby opened this issue Apr 21, 2023 · 3 comments
Open

[Feature] Use a logger instead of print statements #92

dstansby opened this issue Apr 21, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@dstansby
Copy link
Member

Is your feature request related to a problem? Please describe.
In #74 I noticed that several print statements are used throughout the code as a form of logging.

Describe the solution you'd like
These messages to be piped through a proper logger (maybe napari has something built in that can be used?) so it's easy for users to configure whether the messages are turned on/off and where to output them to (e.g. a file or the terminal)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@dstansby dstansby added the enhancement New feature or request label Apr 21, 2023
@adamltyson
Copy link
Member

I think these should be turned off, and everything should be either pop-ups or info in the napari help bar. Thoughts?

@dstansby
Copy link
Member Author

👍 definitely happy to turn them off if they're not very useful for users

@adamltyson
Copy link
Member

They're useful, they just shouldn't be in the console (especially for the bundled app).

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
Status: Backlog
Development

No branches or pull requests

2 participants