|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cpptools.AbstractLogger cpptools.ConsoleLogger
public final class ConsoleLogger
Logs all events to System.err.
Constructor Summary | |
---|---|
ConsoleLogger(Options options)
Create an event output. |
Method Summary | |
---|---|
void |
changed(java.lang.String filename)
Specify the file being processed. |
void |
error(java.lang.String filename,
java.lang.Throwable throwable,
java.lang.String reason)
Notify an error. |
protected void |
log(java.lang.String message)
Log a given message. |
Methods inherited from class cpptools.AbstractLogger |
---|
display, finished, started |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleLogger(Options options)
options
- program optionsMethod Detail |
---|
public void error(java.lang.String filename, java.lang.Throwable throwable, java.lang.String reason)
filename
- the location of the errorthrowable
- the errorreason
- the description of the errorpublic void changed(java.lang.String filename)
filename
- the name of the fleprotected void log(java.lang.String message)
log
in class AbstractLogger
message
- the message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |