Log Activity and Write Telemetry in Constructor #1412
Unanswered
MichaelStarks
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a State Machine object and would like to log the state telemetry and activity in the constructor. When I move the
this->log_ACTIVITY_HI_STATE_CHANGE();
andthis->tlmWrite_STATE();
to the constructor I fail the unit test that I have written. When I remove the portion of the unit test that checks the start-up state it passes, from this I assume the activity and telemetry are either not being logged or are being cleared. How should I setup setting the start-up state so that the information is logged?Thank you
Beta Was this translation helpful? Give feedback.
All reactions