public final class BlackHoleErrorManager extends BasicErrorManager
| Constructor and Description |
|---|
BlackHoleErrorManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
println(CheckLevel level,
JSError error)
Print a message with a trailing new line.
|
void |
printSummary()
Print the summary of the compilation - number of errors and warnings.
|
static void |
silence(Compiler compiler)
Compiler prints to the console by default. |
generateReport, getErrorCount, getErrors, getTypedPercent, getWarningCount, getWarnings, report, setTypedPercentpublic static void silence(Compiler compiler)
Compiler prints to the console by default. This method silences
it to avoid spamming the console in tests.public void println(CheckLevel level, JSError error)
BasicErrorManagerBasicErrorManager.generateReport() method when generating messages.println in class BasicErrorManagerpublic void printSummary()
BasicErrorManagerprintSummary in class BasicErrorManagerCopyright © 2009-2015 Google. All Rights Reserved.