public interface AgentPrintInterface
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggingTag(String tag) |
String |
println(String traceTag,
String txt)
Debugging or error method: Uses the
Trace object to log the
string if appropriate (ie: the traceTAg matches a tag that's turned on
in the Trace object. |
String |
println(String traceTag,
String txt,
Status tempStatus)
Same as
println(String, String) but appends tempStatus.getExplanation(). |
String |
println(String traceTag,
String txt,
Throwable ex)
Same as
println(String, String) but appends ex.toString() and prints
a stack trace after. |
String println(String traceTag, String txt)
Trace
object to log the
string if appropriate (ie: the traceTAg matches a tag that's turned on
in the Trace object.traceTag
- The txt String will be logged if the traceTag maches a tag that's turned on in the Trace object.txt
- The String to be loggedString println(String traceTag, String txt, Throwable ex)
println(String, String)
but appends ex.toString() and prints
a stack trace after.traceTag
- The txt String will be logged if the traceTag maches a tag that's turned on in the Trace object.txt
- The String to be loggedex
- An Exception objectString println(String traceTag, String txt, Status tempStatus)
println(String, String)
but appends tempStatus.getExplanation().traceTag
- The txt String will be logged if the traceTag maches a tag that's turned on in the Trace object.txt
- The String to be loggedtempStatus
- A Status objectboolean isLoggingTag(String tag)