Skip to content

Commit

Permalink
report and event message types update
Browse files Browse the repository at this point in the history
  • Loading branch information
Vítězslav Dvořák committed Jan 18, 2024
1 parent a5e941a commit bfc968a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/Ease/Logger/Message.php
Expand Up @@ -100,7 +100,10 @@ public static function getTypeUnicodeSymbol($type, $color = true)
$symbol = 'ℹ';
break;
case 'event':
$ymbol = '👻';
$symbol = '👻';
break;
case 'report':
$symbol = '📃';
break;
default: // i v kroužku
$symbol = '🤔';
Expand All @@ -126,6 +129,9 @@ public static function getTypeUnicodeSymbol($type, $color = true)
case 'event':
$symbol = '✋';
break;
case 'report':
$symbol = '➿';
break;
case 'info': // Gear
$symbol = 'ⓘ';
break;
Expand Down
3 changes: 2 additions & 1 deletion src/Ease/Logger/Regent.php
Expand Up @@ -4,7 +4,7 @@
* Class to Rule message loggers.
*
* @author Vitex <vitex@hippy.cz>
* @copyright 2016-2023 Vitex@hippy.cz (G)
* @copyright 2016-2024 Vitex@hippy.cz (G)
*/

declare(strict_types=1);
Expand Down Expand Up @@ -49,6 +49,7 @@ class Regent extends \Ease\Atom implements Loggingable
'error' => 'color: red;',
'debug' => 'font-style: italic;',
'report' => 'font-wight: bold;',
'event' => 'color: #996600;',
'info' => 'color: blue;',
];

Expand Down

0 comments on commit bfc968a

Please sign in to comment.