classes/phing/listener/XmlLogger.php
public function taskStarted(BuildEvent $event)
    {
        $task = $event->getTask();

        $taskElement = $this->doc->createElement(XmlLogger::TASK_TAG);
        $taskElement->setAttribute(XmlLogger::NAME_ATTR, $task->getTaskName());
        $taskElement->setAttribute(XmlLogger::LOCATION_ATTR, (string) $task->getLocation());

        $this->timesStack[] = Phing::currentTimeMillis();
        $this->elementStack[] = $taskElement;
    }
public function taskStarted(BuildEvent $event)
    {
        $task = $event->getTask();

        $taskElement = $this->doc->createElement(XmlLogger::TASK_TAG);
        $taskElement->setAttribute(XmlLogger::NAME_ATTR, $task->getTaskName());
        $taskElement->setAttribute(XmlLogger::LOCATION_ATTR, (string) $task->getLocation());

        $this->timesStack[] = Phing::currentTimeMillis();
        $this->elementStack[] = $taskElement;
    }
public function taskStarted ( BuildEvent $ event ) { $ task = $ event -> getTask ( ) ; $ taskElement = $ this -> doc -> createElement ( XmlLogger :: TASK_TAG ) ; $ taskElement -> setAttribute ( XmlLogger :: NAME_ATTR , $ task -> getTaskName ( ) ) ; $ taskElement -> setAttribute ( XmlLogger :: LOCATION_ATTR , ( string ) $ task -> getLocation ( ) ) ; $ this -> timesStack [ ] = Phing :: currentTimeMillis ( ) ; $ this -> elementStack [ ] = $ taskElement ; }
Fired when a task starts building, remembers the current time and the name of the task.

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