Event format strings for structured arguments #1250
Answered
by
timcanham
JackNWhite
asked this question in
Q&A
-
<serializable namespace="Types" name="CompoundThing">
<comment>Compound type comprising the stuff and things.</comment>
<members>
<member name="stuff" type="EnumStuffType" comment="Stuff from the doodads." />
<member name="things" type="U32" comment="Foo." />
</members>
</serializable>
...
<event id="0" name="MY_EVENT" severity="FATAL" format_string="">
<comment>Thingy indicating a jobbler.</comment>
<args>
<arg name="compound_thing" type="CompoundThing" />
</args>
</event>
|
Beta Was this translation helpful? Give feedback.
Answered by
timcanham
Feb 1, 2022
Replies: 2 comments 2 replies
-
How do I make GDS spit out the raw packet? |
Beta Was this translation helpful? Give feedback.
1 reply
-
For |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
JackNWhite
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For
CompoundThing
, you can use%s
, since the type is autocoded to build a value out of the members in to a string.