New ClassAds already have a compatibility version of this method. It does not know about omitting 'private' attributes. We would have to add this capability.

The compatibility version also doesn't handle chained ads.

It also doesn't print MyType or TargetType if they're not set, nor does it print them first. In old ClassAds, if these are unset, they're printed as empty strings. This shouldn't matter, as there shouldn't be any code try to parse ClassAds written to the daemon logs.

Developer time: 4 hours

Progress: Method now handle private attributes and chained ads.