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

Further improve logging (at some point maybe) #44

Open
4 tasks
teutoburg opened this issue Jan 6, 2024 · 0 comments
Open
4 tasks

Further improve logging (at some point maybe) #44

teutoburg opened this issue Jan 6, 2024 · 0 comments
Labels
enhancement New feature or request refactor Implementation improvement

Comments

@teutoburg
Copy link
Contributor

Not any priority, just to not forget about it...

As the name suggests, skycalc_ipy is intended to (also) be used from interactive IPython sessions. In this use case, it is unlikely that logging will be configured externally, but we might still want to give the user an easy option to receive logging messages. For the future, I thus propose to:

  • Add a "verbose" option to SkyCalc
    This would internally configure a console handler for our loggers. We might want to set this to True by default.
  • Allow different levels of verbosity
  • Add more (info, debug) logging for normal operation

And eventually maybe

  • Split the interface for interactive use and internal use
    Maybe this is already done with ui.get_almanac_data() in some places? Anyway, if the function/class used when skycalc_ipy is imported as a library in the background (e.g. in ScopeSim) is different from the one used interactively, the verbosity options discussed above might be easier to configure.

Originally posted by @teutoburg in #42 (comment)

@teutoburg teutoburg added enhancement New feature or request refactor Implementation improvement labels Jan 6, 2024
@teutoburg teutoburg moved this from 🆕 New to 📋 Backlog in ScopeSim-development Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Implementation improvement
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant