|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.listener.Log4jListener
public class Log4jListener
Listener which sends events to Log4j logging system
| Field Summary | |
|---|---|
static java.lang.String |
LOG_ANT
log category we log into |
| Constructor Summary | |
|---|---|
Log4jListener()
Construct the listener and make sure there is a valid appender. |
|
| Method Summary | |
|---|---|
void |
buildFinished(BuildEvent event)
Signals that the last target has finished. |
void |
buildStarted(BuildEvent event)
Signals that a build has started. |
void |
messageLogged(BuildEvent event)
Signals a message logging event. |
void |
targetFinished(BuildEvent event)
Signals that a target has finished. |
void |
targetStarted(BuildEvent event)
Signals that a target is starting. |
void |
taskFinished(BuildEvent event)
Signals that a task has finished. |
void |
taskStarted(BuildEvent event)
Signals that a task is starting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String LOG_ANT
| Constructor Detail |
|---|
public Log4jListener()
| Method Detail |
|---|
public void buildStarted(BuildEvent event)
buildStarted in interface BuildListenerevent - An event with any relevant extra information.
Must not be null.public void buildFinished(BuildEvent event)
buildFinished in interface BuildListenerevent - An event with any relevant extra information.
Must not be null.BuildEvent.getException()public void targetStarted(BuildEvent event)
targetStarted in interface BuildListenerevent - An event with any relevant extra information.
Must not be null.BuildEvent.getTarget()public void targetFinished(BuildEvent event)
targetFinished in interface BuildListenerevent - An event with any relevant extra information.
Must not be null.BuildEvent.getException()public void taskStarted(BuildEvent event)
taskStarted in interface BuildListenerevent - An event with any relevant extra information.
Must not be null.BuildEvent.getTask()public void taskFinished(BuildEvent event)
taskFinished in interface BuildListenerevent - An event with any relevant extra information.
Must not be null.BuildEvent.getException()public void messageLogged(BuildEvent event)
messageLogged in interface BuildListenerevent - An event with any relevant extra information.
Must not be null.BuildEvent.getMessage(),
BuildEvent.getException(),
BuildEvent.getPriority()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||