|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.javascript.jscomp.BasicErrorManager
com.google.javascript.jscomp.LoggerErrorManager
public class LoggerErrorManager
An error manager that logs errors and warnings using a logger in addition to collecting them in memory. Errors are logged at the SEVERE level and warnings are logged at the WARNING level.
| Constructor Summary | |
|---|---|
LoggerErrorManager(Logger logger)
Creates an instance with a source-less error formatter. |
|
LoggerErrorManager(MessageFormatter formatter,
Logger logger)
Creates an instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.google.javascript.jscomp.BasicErrorManager |
|---|
generateReport, getErrorCount, getErrors, getTypedPercent, getWarningCount, getWarnings, report, setTypedPercent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggerErrorManager(MessageFormatter formatter,
Logger logger)
public LoggerErrorManager(Logger logger)
| Method Detail |
|---|
public void println(CheckLevel level,
JSError error)
BasicErrorManagerBasicErrorManager.generateReport() method when generating messages.
println in class BasicErrorManagerprotected void printSummary()
BasicErrorManager
printSummary in class BasicErrorManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||