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 possibility (e.g. cmake flag) to disable or redirect error output #74

Closed
kalj opened this issue Nov 19, 2020 · 1 comment
Closed

Comments

@kalj
Copy link
Contributor

kalj commented Nov 19, 2020

Currently, there are hard coded unconditional error messages using std::cerr which cannot be disabled. It would be great if it would be possible to disable them, or perhaps define your own log callback which is invoked to print the messages. This would allow an application using osqp-eigen to incorporate these error messages in whatever logging framework it prefers.

@S-Dafarra
Copy link
Collaborator

Hi @kalj, thanks a lot for the suggestion. It makes definitely sense. It is something we did not consider while developing it. Also, feel free to open a PR for it.

cc @GiulioRomualdi

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

3 participants