Improved event log console output.

This commit is contained in:
Jan Böhmer 2020-03-07 22:22:23 +01:00
parent a05b1684e6
commit 70abc47ae0
2 changed files with 6 additions and 2 deletions

View file

@ -67,8 +67,8 @@ class LogEntryExtraFormatter
protected $translator;
protected $elementTypeNameGenerator;
protected const CONSOLE_SEARCH = ['<i>', '</i>', '<b>', '</b>', ' <i class="fas fa-long-arrow-alt-right">'];
protected const CONSOLE_REPLACE = ['<info>', '</info>', '<error>', '</error>', '→'];
protected const CONSOLE_SEARCH = ['<i class="fas fa-long-arrow-alt-right"></i>', '<i>', '</i>', '<b>', '</b>', ];
protected const CONSOLE_REPLACE = ['→', '<info>', '</info>', '<error>', '</error>'];
public function __construct(TranslatorInterface $translator, ElementTypeNameGenerator $elementTypeNameGenerator)
{