This question
How to print struct variables in console?
is really just a programming question, even those the data that is being printed looks pretty devopsy. But as we know, there are a zillion questions on stackoverflow and one like this is probably either a hard-to-find dupe or risks being completely ignored, even more than our little corner of the SE-verse.
That being said, do you want us to migrate the questions to SO or leave them here?