| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.DefaultLogger
org.apache.tools.ant.listener.SilentLogger
public class SilentLogger
A logger which logs nothing but build failure and what task might output
| Field Summary | 
|---|
| Fields inherited from class org.apache.tools.ant.DefaultLogger | 
|---|
| emacsMode, err, LEFT_COLUMN_SIZE, lSep, msgOutputLevel, out | 
| Constructor Summary | |
|---|---|
| SilentLogger() | |
| Method Summary | |
|---|---|
|  void | buildFinished(BuildEvent event)Prints whether the build succeeded or failed, any errors the occurred during the build, and how long the build took. | 
|  void | buildStarted(BuildEvent event)Responds to a build being started by just remembering the current time. | 
|  void | targetFinished(BuildEvent event)No-op implementation. | 
|  void | targetStarted(BuildEvent event)Logs a message to say that the target has started if this logger allows information-level messages. | 
|  void | taskFinished(BuildEvent event)No-op implementation. | 
|  void | taskStarted(BuildEvent event)No-op implementation. | 
| Methods inherited from class org.apache.tools.ant.DefaultLogger | 
|---|
| extractProjectName, formatTime, getBuildFailedMessage, getBuildSuccessfulMessage, getTimestamp, log, messageLogged, printMessage, setEmacsMode, setErrorPrintStream, setMessageOutputLevel, setOutputPrintStream | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SilentLogger()
| Method Detail | 
|---|
public void buildStarted(BuildEvent event)
DefaultLogger
buildStarted in interface BuildListenerbuildStarted in class DefaultLoggerevent - Ignored.public void buildFinished(BuildEvent event)
DefaultLogger
buildFinished in interface BuildListenerbuildFinished in class DefaultLoggerevent - An event with any relevant extra information.
              Must not be null.BuildEvent.getException()public void targetStarted(BuildEvent event)
DefaultLogger
targetStarted in interface BuildListenertargetStarted in class DefaultLoggerevent - An event with any relevant extra information.
              Must not be null.BuildEvent.getTarget()public void targetFinished(BuildEvent event)
DefaultLogger
targetFinished in interface BuildListenertargetFinished in class DefaultLoggerevent - Ignored.BuildEvent.getException()public void taskStarted(BuildEvent event)
DefaultLogger
taskStarted in interface BuildListenertaskStarted in class DefaultLoggerevent - Ignored.BuildEvent.getTask()public void taskFinished(BuildEvent event)
DefaultLogger
taskFinished in interface BuildListenertaskFinished in class DefaultLoggerevent - Ignored.BuildEvent.getException()| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||