Print out attributes to a string in aform that's useful for debugging or logging.
The format of the string returned may change in the future.
the attributes
a newly allocated string