DefaultLogger::getBuildFailedMessage PHP Méthode

getBuildFailedMessage() protected méthode

Get the message to return when a build failed.
protected getBuildFailedMessage ( ) : string
Résultat string The classic "BUILD FAILED"
    protected function getBuildFailedMessage()
    {
        return "BUILD FAILED";
    }

Usage Example

 /**
  * This is an override point: the message that indicates whether a build failed.
  * Subclasses can change/enhance the message.
  *
  * @return string The classic "BUILD FAILED" plus a timestamp
  */
 protected function getBuildFailedMessage()
 {
     return parent::getBuildFailedMessage() . self::$SPACER . date('n/d/Y h:m a');
 }