Skip to content

Commit

Permalink
Message Type = event
Browse files Browse the repository at this point in the history
  • Loading branch information
Vítězslav Dvořák committed Nov 6, 2023
1 parent c145209 commit 268af29
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Ease/Logger/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Message
/**
* Message type
*
* @var string info|succes|warning|danger|mail
* @var string info|succes|warning|error|mail|debug|event
*/
public $type;

Expand Down Expand Up @@ -99,6 +99,9 @@ public static function getTypeUnicodeSymbol($type, $color = true)
case 'info':
$symbol = '';
break;
case 'event':
$ymbol = '👻';
break;
default: // i v kroužku
$symbol = '🤔';
break;
Expand All @@ -120,6 +123,9 @@ public static function getTypeUnicodeSymbol($type, $color = true)
case 'debug': // Gear
$symbol = '';
break;
case 'event':
$symbol = '';
break;
case 'info': // Gear
$symbol = '';
break;
Expand Down

0 comments on commit 268af29

Please sign in to comment.