| Constructor and Description |
|---|
FilteredLog(Report report,
String title)
Creates a new
FilteredLog for a Report. |
| Modifier and Type | Method and Description |
|---|---|
void |
logError(String format,
Object... args)
Logs the specified error message.
|
void |
logInfo(String format,
Object... args)
Logs the specified information message.
|
void |
logSummary()
Writes a summary message to the reports' error log that denotes the total number of errors that have been
reported.
|
int |
size()
Returns the total number of errors that have been reported.
|
public FilteredLog(Report report, String title)
FilteredLog for a Report.report - the report to filter the error logtitle - the title of the error messages@FormatMethod public void logInfo(String format, Object... args)
format - A format stringargs - Arguments referenced by the format specifiers in the format string. If there are more arguments than
format specifiers, the extra arguments are ignored. The number of arguments is variable and may be
zero.@FormatMethod public void logError(String format, Object... args)
format - A format stringargs - Arguments referenced by the format specifiers in the format string. If there are more arguments than
format specifiers, the extra arguments are ignored. The number of arguments is variable and may be
zero.public int size()
public void logSummary()
Copyright © 2018. All rights reserved.