Logging parameters is really handy and encourages writing good toString() methods, but when the parameters are very large collections of these objects, logging-interceptor toString()s each object.
It would be nice to optionally log collection types and sizes instead of the string of each object in the collection.
Logging parameters is really handy and encourages writing good
toString()methods, but when the parameters are very large collections of these objects, logging-interceptortoString()s each object.It would be nice to optionally log collection types and sizes instead of the string of each object in the collection.