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

SPDLOG_NO_SOURCE_LOC support for omitting __FILE__, __LINE__ etc #2476

Merged
merged 2 commits into from
Sep 7, 2022

Conversation

nigels-com
Copy link
Contributor

We ship binaries to customers that includes some logging.
But our preference is to omit the source location information for production binaries.
This change adds support for an opt-in SPDLOG_NO_SOURCE_LOC mode.

include/spdlog/spdlog.h Outdated Show resolved Hide resolved
@gabime gabime merged commit b605127 into gabime:v1.x Sep 7, 2022
@gabime
Copy link
Owner

gabime commented Sep 7, 2022

Thanks @nigels-com

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.

2 participants