public final class LoggerErrorManager extends BasicErrorManager
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, report, setTypedPercent
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-2017 Google. All Rights Reserved.