com.ibm.ffdc.config
Interface IncidentStream
- public interface IncidentStream
See Also:
Nested Class Summary
Modifier and Type | Interface and Description |
---|---|
|
IncidentStream.Writer<T extends java.io.OutputStream>
Custom formatters or formattable implementations can use this interface to access
the output stream used by the incident stream.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
write(IncidentStream.Writer<java.io.OutputStream> writer)
Write on this stream the content provided by the
writer
|
|
write(java.lang.String label,java.lang.Object object)
Write an object with a label on the incident stream.
|
|
write(java.lang.String label,java.lang.Object value,int depth)
Write an object with a label on the incident stream.
|
Method Detail
write
- void write(java.lang.String label,
- java.lang.Object object)
Parameters:
label
- object
- write
- void write(java.lang.String label,
- java.lang.Object value,
- int depth)
Write an object with a label on the incident stream. The object will be introspected according to the specified depth.
write
- void write(IncidentStream.Writer<java.io.OutputStream> writer)
Write on this stream the content provided by the
writer
Parameters:
writer
-
If the object is a Class or a Logger instance the name of it will be printed.
If a formatter is registered for the object type, or the object is formattable see in the SDD the rules how the value is printed.
In all other cases the object is introspected.
Note that if an object has already been written, all subsequent writing result i printing the label followed by the classname and hash code.