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

Wrap log-expr in a conditional to assist DCE #27

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

rome-user
Copy link
Contributor

Fixes #26. This allows code from macros like trace, debug, etc. to be removed by GCC when the user has the compiler constant goog.debug.LOGGING_ENABLED set to false.

Fixes lambdaisland#26. This allows code from macros like trace, debug, etc. to be
removed by GCC when the user has the compiler constant
goog.debug.LOGGING_ENABLED set to false.
@plexus plexus merged commit 109b82e into lambdaisland:main Mar 24, 2023
@plexus
Copy link
Member

plexus commented Mar 24, 2023

Thank you!

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

Successfully merging this pull request may close these issues.

Removing logging from production builds
2 participants