public interface Traceable
A Traceable object implements toTraceString to
supply a trace-specific string representation of itself. An object should
only implement this interface if it wants its representation in a trace
stream to differ from that provided by its toString method.
If an object does not implement the Traceable interface the
trace system will just use the result of its toString method to
represent it in the trace stream.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toTraceString()
Return a trace-specific string representing this object.
|