public class TimeLogger extends Object
startSection and endSection.| Constructor and Description |
|---|
TimeLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
endSection() |
static TimeLogger |
getCurrentSectionTimeLogger()
Returns the timeLogger returned by the last invocation of startSection
for a section that hasn't yet ended
Note: there is no special handling of the case when multiple independent
timeloggers are used.
|
ReportWriter |
getReportWriter() |
List<Section> |
getSections() |
void |
setReportWriter(ReportWriter reportWriter) |
TimeLogger |
startSection(String description) |
void |
writeReport(Writer writer) |
public TimeLogger startSection(String description)
public void endSection()
public void writeReport(Writer writer) throws IOException
IOExceptionpublic static TimeLogger getCurrentSectionTimeLogger()
public ReportWriter getReportWriter()
public void setReportWriter(ReportWriter reportWriter)
reportWriter - the reportWriter to setCopyright © 2014. All Rights Reserved.