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

with_nix(): [future idea] maybe collect the log levels #186

Open
philipp-baumann opened this issue Jun 15, 2024 · 0 comments
Open

with_nix(): [future idea] maybe collect the log levels #186

philipp-baumann opened this issue Jun 15, 2024 · 0 comments
Labels

Comments

@philipp-baumann
Copy link
Collaborator

philipp-baumann commented Jun 15, 2024

Currently, a lot of messaging in with_nix() is controlled by helper functions and mainly by the message_type argument. Usually these are printed or not at the appropriate computation steps. Another option would be to collect all messages at a certain log level and print a selection of relevant steps to the console at the end of the with_nix() call. This might give better fine-grained control over messaging, but we will have to see if the slight extra complexity is worth it.

  • Future idea: maybe there is a way to make a report so that we first collect all log levels for whatever option (verbose,...), serialise that, and serialise and maybe filter that into the current R session.

cc @b-rodrigues what we discussed at the Luxembourg meeting last week :-) just keep it as a track record issue. We can close it later if we think it is unnecessary.

@philipp-baumann philipp-baumann changed the title with_nix(): [future- id] with_nix(): [future idea] maybe collect the log levels Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant