public final class LoggerErrorManager extends BasicErrorManager
SortingErrorManager.ErrorReportGenerator| Constructor and Description |
|---|
LoggerErrorManager(java.util.logging.Logger logger)
Creates an instance with a source-less error formatter.
|
LoggerErrorManager(MessageFormatter formatter,
java.util.logging.Logger logger)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
println(CheckLevel level,
JSError error)
Print a message with a trailing new line.
|
protected void |
printSummary()
Print the summary of the compilation - number of errors and warnings.
|
generateReportgetErrorCount, getErrors, getTypedPercent, getWarningCount, getWarnings, hasHaltingErrors, report, setTypedPercentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldReportConformanceViolationpublic LoggerErrorManager(MessageFormatter formatter, java.util.logging.Logger logger)
public LoggerErrorManager(java.util.logging.Logger logger)
public void println(CheckLevel level, JSError error)
BasicErrorManagerBasicErrorManager.generateReport() method when generating messages.println in class BasicErrorManagerprotected void printSummary()
BasicErrorManagerprintSummary in class BasicErrorManagerCopyright © 2009-2020 Google. All Rights Reserved.