Hi, >Good point, and that occurred to me as well. However I think Jestr is a >little different from the ToStringBuilder stuff because it isn't >necessarily concerned with helping you implement toString() methods; >instead, it's more concerned with helping you log *arbitrary* objects, even >if you don't have access to their source code to change their toString() >methods.
What I'd like is an implementation of log4j's ObjectRenderer (org.apache.log4j.or.ObjectRenderer) that uses reflection like commons-lang reflectionToStringBuilfer. This wouldn't be difficult to write, I imagine. I wouldn't want a whole new package or dependency for this. Log4j isn't going to add commons-lang as a dependency either. Hmm... ;) Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
