Skip to content

Commit

Permalink
Merge pull request #273 from langeland/master
Browse files Browse the repository at this point in the history
BUGFIX: Update tagFormats to match defined severities

Uses the severities described in ``\TYPO3\Flow\Log\LoggerInterface``
  • Loading branch information
kitsunet committed Apr 20, 2016
2 parents 1d80d2d + 6f69e6e commit 435cae9
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
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 435cae9

Please sign in to comment.