-
Notifications
You must be signed in to change notification settings - Fork 15
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
Encapsulate log interface selection #15
Comments
Previously:
With the help of this macro, it can be written in one line now.
If glog is not installed, then this macro will be expanded into an empty statement instead. |
Thanks for another software improvement. |
You have mentioned templates, do you mean something like: I guess this will need a dedicated templated function and template specialization. |
Do you get any further development ideas from a library like spdlog? |
Since it is unnecessary for these error message strings to stay in .data for the entire program's lifetime.
Conditional compilation was introduced for a possible logging software.
This software adjustment had the consequence that preprocessor statements were distributed in the code base.
Thus I suggest to reduce unwanted code duplication.
The text was updated successfully, but these errors were encountered: