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

Log verbosity level #29

Open
pshriwise opened this issue Nov 18, 2022 · 2 comments
Open

Log verbosity level #29

pshriwise opened this issue Nov 18, 2022 · 2 comments

Comments

@pshriwise
Copy link
Collaborator

pshriwise commented Nov 18, 2022

There are still a few direct calls to std::cout hanging around. I think a setting for the verbosity of log output would be useful at some point so we can throw those at a logging function/macro with a high verbosity level if desired so we can still display them easily if desired.

@natevm
Copy link
Contributor

natevm commented Nov 19, 2022

for example, GeomType currently uses a std::cout in the constructor / destructor. That could instead be piped through some function printing more / less depending on verbosity.

I'm wondering if it makes sense to do anything other than "verbose / not verbose". like, low vs medium vs high.

Could also setup warnings, error, and info or something like that.

@pshriwise
Copy link
Collaborator Author

Yeah I think having different classes of messaging is another solution. I'm good w/ that.

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

No branches or pull requests

2 participants