Skip to content

Commit

Permalink
[TASK] Update tagFormats to match defined severities
Browse files Browse the repository at this point in the history
Uses the severities descriped in \TYPO3\Flow\Log\LoggerInterface
  • Loading branch information
langeland committed Feb 25, 2016
1 parent 3fecac3 commit 6f69e6e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions TYPO3.Flow/Classes/TYPO3/Flow/Log/Backend/AnsiConsoleBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
}

Expand Down

0 comments on commit 6f69e6e

Please sign in to comment.