classes/phing/listener/DefaultLogger.php
public function targetStarted(BuildEvent $event)
    {
        if (Project::MSG_INFO <= $this->msgOutputLevel
            && $event->getTarget()->getName() != ''
        ) {
            $showLongTargets = $event->getProject()->getProperty("phing.showlongtargets");
            $msg = PHP_EOL . $event->getProject()->getName() . ' > ' . $event->getTarget()->getName() . ($showLongTargets ? ' [' . $event->getTarget()->getDescription() . ']' : '') . ':' . PHP_EOL;
            $this->printMessage($msg, $this->out, $event->getPriority());
        }
    }
public function targetStarted(BuildEvent $event)
    {
        if (Project::MSG_INFO <= $this->msgOutputLevel
            && $event->getTarget()->getName() != ''
        ) {
            $showLongTargets = $event->getProject()->getProperty("phing.showlongtargets");
            $msg = PHP_EOL . $event->getProject()->getName() . ' > ' . $event->getTarget()->getName() . ($showLongTargets ? ' [' . $event->getTarget()->getDescription() . ']' : '') . ':' . PHP_EOL;
            $this->printMessage($msg, $this->out, $event->getPriority());
        }
    }
public function targetStarted ( BuildEvent $ event ) { if ( Project :: MSG_INFO <= $ this -> msgOutputLevel && $ event -> getTarget ( ) -> getName ( ) != '' ) { $ showLongTargets = $ event -> getProject ( ) -> getProperty ( "phing.showlongtargets" ) ; $ msg = PHP_EOL . $ event -> getProject ( ) -> getName ( ) . ' > ' . $ event -> getTarget ( ) -> getName ( ) . ( $ showLongTargets ? ' [' . $ event -> getTarget ( ) -> getDescription ( ) . ']' : '' ) . ':' . PHP_EOL ; $ this -> printMessage ( $ msg , $ this -> out , $ event -> getPriority ( ) ) ; } }
Prints the current target name

@param BuildEvent $event
@see   BuildEvent::getTarget()
Prints the current target name