Skip to content

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