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

Added an option to not automatically instantiate a Log object. #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonasbjurel
Copy link

In some cases you do not want the Log object to be instantiated automatically by the library. Reasons could be that you want to control the heap memory segment type that gets allocated for the log object, or that you want to inherit the log base to another derived class. This commit adds a flag "DO_NOT_INSTANTIATE" that if set omits the automatic instantiation. The change is backwards compatible.

In some cases you do not want the Log object to be instantiated automatically by the library.
Reasons could be that you want to control the heap memory segment type that gets allocated for the log object, or that you want to inherit the log base to another derived class.
This commit adds a flag "__DO_NOT_INSTANTIATE__" that if set omits the automatic instantiation.
The change is backwards compatible.
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.

1 participant