public 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, setTypedPercent
public 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)
BasicErrorManager
BasicErrorManager.generateReport()
method when generating messages.println
in class BasicErrorManager
public void printSummary()
BasicErrorManager
printSummary
in class BasicErrorManager
Copyright © 2009-2015 Google. All Rights Reserved.