1 | <?php |
||
13 | class LogCall { |
||
14 | |||
15 | private $level; |
||
16 | private $message; |
||
17 | private $context; |
||
18 | |||
19 | /** |
||
20 | * @param mixed $level Typically one of the @see LogLevel constants |
||
21 | * @param string $message |
||
22 | * @param array $context |
||
23 | */ |
||
24 | 4 | public function __construct( $level, string $message, array $context = [] ) { |
|
29 | |||
30 | /** |
||
31 | * @return mixed Typically one of the @see LogLevel constants |
||
32 | */ |
||
33 | 1 | public function getLevel() { |
|
36 | |||
37 | 2 | public function getMessage(): string { |
|
40 | |||
41 | 1 | public function getContext(): array { |
|
44 | |||
45 | } |
||
46 |