classes/phing/listener/DefaultLogger.php
public function buildFinished(BuildEvent $event)
    {
        $error = $event->getException();
        if ($error === null) {
            $msg = PHP_EOL . $this->getBuildSuccessfulMessage() . PHP_EOL;
        } else {
            $msg = PHP_EOL . $this->getBuildFailedMessage() . PHP_EOL;
            self::throwableMessage($msg, $error, Project::MSG_VERBOSE <= $this->msgOutputLevel);
        }
        $msg .= PHP_EOL . "Total time: " . self::formatTime(Phing::currentTimeMillis() - $this->startTime) . PHP_EOL;

        if ($error === null) {
            $this->printMessage($msg, $this->out, Project::MSG_VERBOSE);
        } else {
            $this->printMessage($msg, $this->err, Project::MSG_ERR);
        }
    }
public function buildFinished(BuildEvent $event)
    {
        $error = $event->getException();
        if ($error === null) {
            $msg = PHP_EOL . $this->getBuildSuccessfulMessage() . PHP_EOL;
        } else {
            $msg = PHP_EOL . $this->getBuildFailedMessage() . PHP_EOL;
            self::throwableMessage($msg, $error, Project::MSG_VERBOSE <= $this->msgOutputLevel);
        }
        $msg .= PHP_EOL . "Total time: " . self::formatTime(Phing::currentTimeMillis() - $this->startTime) . PHP_EOL;

        if ($error === null) {
            $this->printMessage($msg, $this->out, Project::MSG_VERBOSE);
        } else {
            $this->printMessage($msg, $this->err, Project::MSG_ERR);
        }
    }
public function buildFinished ( BuildEvent $ event ) { $ error = $ event -> getException ( ) ; if ( $ error === null ) { $ msg = PHP_EOL . $ this -> getBuildSuccessfulMessage ( ) . PHP_EOL ; } else { $ msg = PHP_EOL . $ this -> getBuildFailedMessage ( ) . PHP_EOL ; self :: throwableMessage ( $ msg , $ error , Project :: MSG_VERBOSE <= $ this -> msgOutputLevel ) ; } $ msg .= PHP_EOL . "Total time: " . self :: formatTime ( Phing :: currentTimeMillis ( ) - $ this -> startTime ) . PHP_EOL ; if ( $ error === null ) { $ this -> printMessage ( $ msg , $ this -> out , Project :: MSG_VERBOSE ) ; } else { $ this -> printMessage ( $ msg , $ this -> err , Project :: MSG_ERR ) ; } }
Prints whether the build succeeded or failed, and any errors that
occurred during the build. Also outputs the total build-time.

@param BuildEvent $event
@see   BuildEvent::getException()
Prints whether the build succeeded or failed and any errors that occurred during the build . Also outputs the total build - time .