|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lsst.ccs.utilities.tracers.Tracer.MultiReporter
public static class Tracer.MultiReporter
Convenience class to create a code that reports to many report "handlers". (for instance to a Logger AND System.out).
| Constructor Summary | |
|---|---|
Tracer.MultiReporter(Tracer.Strategy... strategies)
|
|
| Method Summary | |
|---|---|
void |
addReportLine(String line)
long reports that span many lines (such as stackTraces) may have intermediate calls to addReportLine before a call to endReport |
void |
endReport()
marks the end of a trace (this can be used with implementations that use parenthesized expressions -such as XML-). |
void |
report(String report)
starts a trace and reports a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tracer.MultiReporter(Tracer.Strategy... strategies)
| Method Detail |
|---|
public void report(String report)
Tracer.Strategy
report in interface Tracer.Strategypublic void addReportLine(String line)
Tracer.Strategy
addReportLine in interface Tracer.Strategypublic void endReport()
Tracer.Strategy
endReport in interface Tracer.Strategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||