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.
|
generateReport
getErrorCount, getErrors, getTypedPercent, getWarningCount, getWarnings, hasHaltingErrors, report, setTypedPercent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldReportConformanceViolation
public LoggerErrorManager(MessageFormatter formatter, java.util.logging.Logger logger)
public LoggerErrorManager(java.util.logging.Logger logger)
public void println(CheckLevel level, JSError error)
BasicErrorManager
BasicErrorManager.generateReport()
method when generating messages.println
in class BasicErrorManager
protected void printSummary()
BasicErrorManager
printSummary
in class BasicErrorManager
Copyright © 2009-2018 Google. All Rights Reserved.