Esempio n. 1
0
 /**
  * Writes the message $msg to STDERR.
  *
  * @param string $msg The message to output
  * @param string $status Output status
  *
  * @return Outputter
  */
 public function stderr($msg, $status = self::STATUS_FAIL)
 {
     $msg = "<strong>" . $msg . "</strong>";
     $msg = $this->removeColors($msg);
     $msg = $this->replaceEOLs($msg);
     return parent::stderr($msg, $status);
 }
Esempio n. 2
0
 /**
  * Writes the message $msg to STDERR.
  *
  * @param string $msg The message to output
  * @param string $status Output status
  *
  * @return \Phrekyll\Outputter
  */
 public function stderr($msg, $status = self::STATUS_FAIL)
 {
     $msg = Color::convert($status . $msg . "\n");
     return parent::stderr($msg, $status);
 }