You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have the ability to hide messages from pynsee.
This would be possible if logging was used rather than calls to print (e.g. for cached data or during requests.
With a logger, the importance of each log could be set independently (e.g. messages about the use of cached data could be INFO while some issues with requests would be WARNING, ERROR, or CRITICAL) which would let people filter the levels they don't care about.
If necessary, the default visibility can be set to INFO so that all messages are still printed when nothing is changed.
Ah yes, that would be great, I thought I'd have time to work on pynsee for a bit but that did not happen, unfortunately... will be happy to review a PR, though :)
Activity
lgeo3 commentedon Mar 1, 2023
I'll be happy to work on this one, it seems to be a good issue for a first contribution if you agree ?
tfardet commentedon Mar 1, 2023
Ah yes, that would be great, I thought I'd have time to work on pynsee for a bit but that did not happen, unfortunately... will be happy to review a PR, though :)
feat: use logging to replace logger InseeFrLab#117
feat: use logging to replace logger InseeFrLab#117