org.apache.tools.ant.listener

Class Log4jListener

Implemented Interfaces:
BuildListener, EventListener

public class Log4jListener
extends java.lang.Object
implements BuildListener

Listener which sends events to Log4j logging system

Constructor Summary

Log4jListener()
Construct the listener and make sure there is a valid appender.

Method Summary

void
buildFinished(BuildEvent event)
void
buildStarted(BuildEvent event)
void
messageLogged(BuildEvent event)
void
targetFinished(BuildEvent event)
void
targetStarted(BuildEvent event)
void
taskFinished(BuildEvent event)
void
taskStarted(BuildEvent event)

Constructor Details

Log4jListener

public Log4jListener()
Construct the listener and make sure there is a valid appender.

Method Details

buildFinished

public void buildFinished(BuildEvent event)
Specified by:
buildFinished in interface BuildListener

buildStarted

public void buildStarted(BuildEvent event)
Specified by:
buildStarted in interface BuildListener

messageLogged

public void messageLogged(BuildEvent event)
Specified by:
messageLogged in interface BuildListener

targetFinished

public void targetFinished(BuildEvent event)
Specified by:
targetFinished in interface BuildListener

targetStarted

public void targetStarted(BuildEvent event)
Specified by:
targetStarted in interface BuildListener

taskFinished

public void taskFinished(BuildEvent event)
Specified by:
taskFinished in interface BuildListener

taskStarted

public void taskStarted(BuildEvent event)
Specified by:
taskStarted in interface BuildListener

Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.