Mendix Runtime - Logging

Hi,   Do you happen to know how can I log at runtime IMendixObject objects in a pretty JSON format? If I try the basic Core.getLogger("######").info(file); for a File entity that I created and I want to see the associated object with its full attributes I get this:    I also tried reading this but didn't understand properly how can i do this.   Thanks, Marcian.
1 answers

Have a look at this question and answers to get an idea on how to get the info as a json string: