123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?php
- declare(strict_types=1);
- namespace OCP\Log;
- use OCP\EventDispatcher\Event;
- class BeforeMessageLoggedEvent extends Event {
- private int $level;
- private string $app;
- private $message;
-
- public function __construct(string $app, int $level, array $message) {
- $this->level = $level;
- $this->app = $app;
- $this->message = $message;
- }
-
- public function getLevel(): int {
- return $this->level;
- }
-
- public function getApp(): string {
- return $this->app;
- }
-
- public function getMessage(): array {
- return $this->message;
- }
- }
|