Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
/**
* Even for when a log item is being logged
*
- * @since 26.0.7
+ * @since 26.0.8
*/
class BeforeMessageLoggedEvent extends Event {
private int $level;
private $message;
/**
- * @since 28.0.0
+ * @since 26.0.8
*/
public function __construct(string $app, int $level, $message) {
$this->level = $level;
* Get the level of the log item
*
* @return int
- * @since 28.0.0
+ * @since 26.0.8
*/
public function getLevel(): int {
return $this->level;
* Get the app context of the log item
*
* @return string
- * @since 28.0.0
+ * @since 26.0.8
*/
public function getApp(): string {
return $this->app;
* Get the message of the log item
*
* @return string
- * @since 28.0.0
+ * @since 26.0.8
*/
public function getMessage(): string {
return $this->message;