Show object in log message

I have an object with 80+ variables that I would like to display in the logs. is this possible?  If I create a log message, it only lets me pass strings and not objects.
1 answers

You can create a new Message Definition for your object, and then use the “Export with Mapping” microflow action to convert the object into a JSON string. From there you can put that in your log message.

This process could also be implemented in a generic way for any object using a Java action. I haven’t seen one but I don’t think it would be more than maybe 10-20 lines of code.