Hey gents, I've got a couple of big ol' POJO's tha...
# announcements
g
Hey gents, I've got a couple of big ol' POJO's that I
ctrl
+
alt
+ `k`'d into kotlin data classes, now I need to get them into logs which is nice because kotlins automatically generated
toString()
is going to the heavy lifting, but I'm wondering if I can control it. I've got an object graph with 3 levels on it, the root having 12 fields properties and the leafs having about 5. If I dump this to a single line of text it will have all the necessary info, but I really don't want to have to read it, is there a
@PrettyPrint
annotation or alternative that I can get to cause kotlins generated
toString
to maybe use a bit more (vertical) space than the typical one-liner?