diff --git a/lib/Cake/Console/ConsoleOutput.php b/lib/Cake/Console/ConsoleOutput.php index a6658d51d..759e953ce 100644 --- a/lib/Cake/Console/ConsoleOutput.php +++ b/lib/Cake/Console/ConsoleOutput.php @@ -128,9 +128,13 @@ class ConsoleOutput { * @var array */ protected static $_styles = array( + 'emergency' => array('text' => 'red', 'underline' => true), + 'alert' => array('text' => 'red', 'underline' => true), + 'critical' => array('text' => 'red', 'underline' => true), 'error' => array('text' => 'red', 'underline' => true), 'warning' => array('text' => 'yellow'), 'info' => array('text' => 'cyan'), + 'debug' => array('text' => 'yellow'), 'success' => array('text' => 'green'), 'comment' => array('text' => 'blue'), 'question' => array('text' => "magenta"), diff --git a/lib/Cake/Console/Shell.php b/lib/Cake/Console/Shell.php index f5172cc51..a23a38fb3 100644 --- a/lib/Cake/Console/Shell.php +++ b/lib/Cake/Console/Shell.php @@ -175,7 +175,7 @@ class Shell extends Object { } CakeLog::config('stderr', array( 'engine' => 'ConsoleLog', - 'types' => array('error', 'warning'), + 'types' => array('emergency', 'alert', 'critical', 'error', 'warning', 'debug'), 'stream' => $this->stderr, )); if ($this->stdin == null) {