Beispiel #1
0
 /**
  * Writes the message $msg to STDOUT.
  *
  * @param string $msg The message to output
  * @param string $status Ignored
  *
  * @return Outputter
  */
 public function stdout($msg, $status = self::STATUS_OK)
 {
     $msg = $this->removeColors($msg);
     $msg = $this->replaceEOLs($msg);
     return parent::stdout($msg, $status);
 }
Beispiel #2
0
 /**
  * Writes the message $msg to STDOUT.
  *
  * @param string $msg The message to output
  * @param string $status Output status
  *
  * @return \Phrekyll\Outputter
  */
 public function stdout($msg, $status = self::STATUS_OK)
 {
     $msg = Color::convert($status . $msg . "\n");
     return parent::stdout($msg, $status);
 }