Skip to content

Commit 77f160d

Browse files
committed
Added Type Getter for Message class
1 parent 2e3738e commit 77f160d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/Ease/Logger/Message.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,13 @@ public static function getCallerName($caller): string
182182

183183
return $callerName;
184184
}
185+
186+
/**
187+
* Type of message
188+
* @return string info|warning|error|debug| etc ..
189+
*/
190+
public function getType(): string {
191+
return $this->type;
192+
}
193+
185194
}

0 commit comments

Comments
 (0)