Why not simply override toString() in EOGenerate templates once and for all?
> On 2 Jun 2020, at 01:52, ocs--- via Webobjects-dev > <[email protected]> wrote: > > Hi there, > > occasionally, I need to put entities/attributes/relationships into complex > nested property lists. Occasionally for debug, I need to print out these > property lists. > > Alas, entities/attributes/relationships normally print out their complete > contents in their toStrings, which makes the logs completely unuseable (and > when there's more of them in a property list, actually bogs down the > application so much it must be killed). > > Isn't there some trick to make those darned model classes toString something > reasonable, e.g., just their class, name and hash? > > Thanks, > OC > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/steiner%40rucotec.ch > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
