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

Make pdslogger.py more generic #4

Open
rfrenchseti opened this issue Dec 4, 2023 · 0 comments
Open

Make pdslogger.py more generic #4

rfrenchseti opened this issue Dec 4, 2023 · 0 comments

Comments

@rfrenchseti
Copy link
Collaborator

From rms-webtools created by rfrenchseti: SETI/rms-webtools#84

pdslogger.py is a wonderful module for increasing the usefulness of the base Python logging module. However, it various ways it is PDS-specific (not the least of which is its name). It would be nice it we could generalize the module a little so it would be more useful to the general public.

Another improvement we could make is allowing PdsLogger.open to be a context manager, so you can do with PdsLogger.open(...) to change indent levels.

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

No branches or pull requests

1 participant