From 6f69e6e86e264af9beb1ebca2a3bbdbaa50e6dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Klixb=C3=BCll=20Langeland?= Date: Thu, 25 Feb 2016 13:14:06 +0100 Subject: [PATCH] [TASK] Update tagFormats to match defined severities Uses the severities descriped in \TYPO3\Flow\Log\LoggerInterface --- .../TYPO3/Flow/Log/Backend/AnsiConsoleBackend.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/TYPO3.Flow/Classes/TYPO3/Flow/Log/Backend/AnsiConsoleBackend.php b/TYPO3.Flow/Classes/TYPO3/Flow/Log/Backend/AnsiConsoleBackend.php index 36c65cb005..fedb4b9d76 100644 --- a/TYPO3.Flow/Classes/TYPO3/Flow/Log/Backend/AnsiConsoleBackend.php +++ b/TYPO3.Flow/Classes/TYPO3/Flow/Log/Backend/AnsiConsoleBackend.php @@ -58,12 +58,14 @@ public function open() { parent::open(); $this->tagFormats = array( - 'success' => self::FG_GREEN . '|' . self::END, - 'info' => self::FG_WHITE . '|' . self::END, - 'notice' => self::FG_YELLOW . '|' . self::END, - 'debug' => self::FG_GRAY . '|' . self::END, - 'error' => self::FG_WHITE . self::BG_RED . '|' . self::END, - 'warning' => self::FG_BLACK . self::BG_YELLOW . '|' . self::END + 'emergency' => self::FG_BLACK . self::BG_RED . '|' . self::END, + 'alert' => self::FG_BLACK . self::BG_YELLOW . '|' . self::END, + 'critical' => self::FG_BLACK . self::BG_CYAN . '|' . self::END, + 'error' => self::FG_RED . '|' . self::END, + 'warning' => self::FG_YELLOW . '|' . self::END, + 'notice' => self::FG_WHITE . '|' . self::END, + 'info' => self::FG_GREEN . '|' . self::END, + 'debug' => self::FG_BLUE . '|' . self::END, ); }