public interface TraceInterface
Trace
class calls to output messages.Modifier and Type | Method and Description |
---|---|
int |
getLevel()
Return the current trace level.
|
void |
trace(int color,
int level,
java.lang.String message)
Output a message string if the passed level is
greater than or equal to the current trace level.
|
void |
trace(int level,
java.lang.String message)
Output a message string if the passed level is
greater than or equal to the current trace level.
|
void |
trace(int level,
XmlDocument document)
Serialize and output XML document if passed level
is greater than or equal to the current trace level.
|
void trace(int level, java.lang.String message)
level
- Trace level for message.message
- String to output.void trace(int color, int level, java.lang.String message)
level
- Trace level for message.message
- String to output.void trace(int level, XmlDocument document)
level
- Trace level for document.document
- The XML document to outputint getLevel()