Perhaps the most important consideration related to achieving maximum value from toString() is to provide implementations of them. Although the root of all Java class hierarchies, Object, does provide ...
Describe the problem you are trying to solve. It's a common practice to log java objects, however in case of protobuf-generated classes toString() output is very long and multiline, see also #13576.