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

Add verbose parameter to functions #8

Open
arturomoncadatorres opened this issue Apr 14, 2022 · 0 comments
Open

Add verbose parameter to functions #8

arturomoncadatorres opened this issue Apr 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@arturomoncadatorres
Copy link
Contributor

I am currently testing the glm algorithm. Particularly, I am validating the output of the dglm function. When it is being run, it prints a lot of information. For example:

DEBUG [18:57:00.948] Initializing... 
INFO  [18:57:00.951]  
INFO  [18:57:00.953] ############################################### 
INFO  [18:57:00.956] # Starting iteration 0 
INFO  [18:57:00.958] ############################################### 
INFO  [18:57:00.960]  
INFO  [18:57:00.963] 0.1 - RPC Node Beta 
DEBUG [18:57:00.966] ** Mocking call to "node_beta" ** 
DEBUG [18:57:00.969] Regular call 
DEBUG [18:57:00.972] there are 3 datasets .. 
...

Usually such output is very useful. However, it would be nice to have an additional parameter verbose that could allow hiding such information. This would be particularly useful when testing, since not all the time I want to see such a long output.

I would suggest that it defaults to True. Such functionality could also be added to all algorithms.

@arturomoncadatorres arturomoncadatorres added the enhancement New feature or request label Apr 14, 2022
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
None yet
Development

No branches or pull requests

1 participant