classes/phing/listener/XmlLogger.php
public function targetStarted(BuildEvent $event)
    {
        $target = $event->getTarget();

        $targetElement = $this->doc->createElement(XmlLogger::TARGET_TAG);
        $targetElement->setAttribute(XmlLogger::NAME_ATTR, $target->getName());

        $this->timesStack[] = Phing::currentTimeMillis();
        $this->elementStack[] = $targetElement;
    }
public function targetStarted(BuildEvent $event)
    {
        $target = $event->getTarget();

        $targetElement = $this->doc->createElement(XmlLogger::TARGET_TAG);
        $targetElement->setAttribute(XmlLogger::NAME_ATTR, $target->getName());

        $this->timesStack[] = Phing::currentTimeMillis();
        $this->elementStack[] = $targetElement;
    }
public function targetStarted ( BuildEvent $ event ) { $ target = $ event -> getTarget ( ) ; $ targetElement = $ this -> doc -> createElement ( XmlLogger :: TARGET_TAG ) ; $ targetElement -> setAttribute ( XmlLogger :: NAME_ATTR , $ target -> getName ( ) ) ; $ this -> timesStack [ ] = Phing :: currentTimeMillis ( ) ; $ this -> elementStack [ ] = $ targetElement ; }
Fired when a target starts building, remembers the current time and the name of the target.

@param BuildEvent $event An event with any relevant extra information.
Will not be <code>null</code>.
Fired when a target starts building remembers the current time and the name of the target .