org.apache.tools.ant.listener

Class Log4jListener

public class Log4jListener extends Object implements BuildListener

Listener which sends events to Log4j logging system
Field Summary
static StringLOG_ANT
log category we log into
Constructor Summary
Log4jListener()
Construct the listener and make sure there is a valid appender.
Method Summary
voidbuildFinished(BuildEvent event)
{@inheritDoc }.
voidbuildStarted(BuildEvent event)
{@inheritDoc }.
voidmessageLogged(BuildEvent event)
{@inheritDoc }.
voidtargetFinished(BuildEvent event)
{@inheritDoc }.
voidtargetStarted(BuildEvent event)
{@inheritDoc }.
voidtaskFinished(BuildEvent event)
{@inheritDoc }.
voidtaskStarted(BuildEvent event)
{@inheritDoc }.

Field Detail

LOG_ANT

public static final String LOG_ANT
log category we log into

Constructor Detail

Log4jListener

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

Method Detail

buildFinished

public void buildFinished(BuildEvent event)
{@inheritDoc }.

buildStarted

public void buildStarted(BuildEvent event)
{@inheritDoc }.

messageLogged

public void messageLogged(BuildEvent event)
{@inheritDoc }.

targetFinished

public void targetFinished(BuildEvent event)
{@inheritDoc }.

targetStarted

public void targetStarted(BuildEvent event)
{@inheritDoc }.

taskFinished

public void taskFinished(BuildEvent event)
{@inheritDoc }.

taskStarted

public void taskStarted(BuildEvent event)
{@inheritDoc }.