-
Notifications
You must be signed in to change notification settings - Fork 193
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
4847 logger singleton 3.1 #5119
Merged
Merged
Commits on Mar 22, 2024
-
Create a new Logger singleton type
Previously, we used the openstudio::Singleton template to create the singleton named Logger. This implementation suffered a bug described in #4847, where the singleton was not global across the ScriptEngine DLL boundary. This change is a non templated implementation of Logger. The design is identical to openstudio::Singleton<LoggerSingleton>, but does not suffer the non-global issue. ref #4847
Configuration menu - View commit details
-
Copy full SHA for 2d0a76c - Browse repository at this point
Copy the full SHA 2d0a76cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 659d01c - Browse repository at this point
Copy the full SHA 659d01cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3984b2b - Browse repository at this point
Copy the full SHA 3984b2bView commit details -
Make Logger::instance more global
UtilitiesAPI.hpp needs to be included by SWIG so that the correct declspecs are used for the global logger. Previously, UTILITIES_API was just #define OPENSTUDIO_API, therefore the dll export decorator was not used.
Configuration menu - View commit details
-
Copy full SHA for aad08ee - Browse repository at this point
Copy the full SHA aad08eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69c474b - Browse repository at this point
Copy the full SHA 69c474bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c162c04 - Browse repository at this point
Copy the full SHA c162c04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 442cd38 - Browse repository at this point
Copy the full SHA 442cd38View commit details
Commits on Mar 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 96d111a - Browse repository at this point
Copy the full SHA 96d111aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bca7f1b - Browse repository at this point
Copy the full SHA bca7f1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf372b5 - Browse repository at this point
Copy the full SHA bf372b5View commit details -
No need for try_emplace since we already check it's not in the map (c…
…ppcheck / clang format)
Configuration menu - View commit details
-
Copy full SHA for a13db45 - Browse repository at this point
Copy the full SHA a13db45View commit details -
Configuration menu - View commit details
-
Copy full SHA for db83481 - Browse repository at this point
Copy the full SHA db83481View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.