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

Closed
magnet opened this Issue May 31, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@magnet

magnet commented May 31, 2012

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.

@saschazelzer

This comment has been minimized.

Show comment
Hide comment
@saschazelzer

saschazelzer May 31, 2012

Member

Yes, that is actually on my todo list (it is annoying in our software too...). I probably have to push the priority for this.

Member

saschazelzer commented May 31, 2012

Yes, that is actually on my todo list (it is annoying in our software too...). I probably have to push the priority for this.

@ghost ghost assigned saschazelzer Jun 4, 2012

@saschazelzer

This comment has been minimized.

Show comment
Hide comment
@saschazelzer

saschazelzer Jun 4, 2012

Member

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.

Member

saschazelzer commented Jun 4, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment