-
Notifications
You must be signed in to change notification settings - Fork 258
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
US_DEBUG logs even when not in debug mode #3
Comments
Yes, that is actually on my todo list (it is annoying in our software too...). I probably have to push the priority for this. |
I managed to improve on the logging mechanism. Now all debug messages are suppressed in release builds and there is a possibility to suppress certain message types via preprocessor defines or to install a message handler and take care of printing the message yourself. See installMsgHandler. Let me know if there are any issues. |
Currently all logging methods trace on stdout even when in release mode.
It would be nice to make that conditional on whether DEBUG mode is set.
The text was updated successfully, but these errors were encountered: