org.objectweb.util.monolog.wrapper.ant
Class MonologBuildListener
java.lang.Object
org.objectweb.util.monolog.wrapper.ant.MonologBuildListener
- All Implemented Interfaces:
- EventListener, org.apache.tools.ant.BuildListener
public class MonologBuildListener
- extends Object
- implements org.apache.tools.ant.BuildListener
This class is an ant BuildListener which logs events in monolog. This
listener uses the LoggerFactory initialized by the Monolog.class.
The topic of the message is concatenation (with dot separator) of the project
name, the target name and the task name.
- Author:
- S.Chassande-Barrioz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonologBuildListener
public MonologBuildListener()
MonologBuildListener
public MonologBuildListener(Logger log)
MonologBuildListener
public MonologBuildListener(LoggerFactory loggerFactory)
buildStarted
public void buildStarted(org.apache.tools.ant.BuildEvent be)
- Specified by:
buildStarted in interface org.apache.tools.ant.BuildListener
buildFinished
public void buildFinished(org.apache.tools.ant.BuildEvent be)
- Specified by:
buildFinished in interface org.apache.tools.ant.BuildListener
targetStarted
public void targetStarted(org.apache.tools.ant.BuildEvent be)
- Specified by:
targetStarted in interface org.apache.tools.ant.BuildListener
targetFinished
public void targetFinished(org.apache.tools.ant.BuildEvent be)
- Specified by:
targetFinished in interface org.apache.tools.ant.BuildListener
taskStarted
public void taskStarted(org.apache.tools.ant.BuildEvent be)
- Specified by:
taskStarted in interface org.apache.tools.ant.BuildListener
taskFinished
public void taskFinished(org.apache.tools.ant.BuildEvent be)
- Specified by:
taskFinished in interface org.apache.tools.ant.BuildListener
messageLogged
public void messageLogged(org.apache.tools.ant.BuildEvent be)
- Specified by:
messageLogged in interface org.apache.tools.ant.BuildListener
Copyright © 2012 OW2 Consortium. All Rights Reserved.