1 | <?php |
||
15 | class Logger implements LoggerInterface |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @var QueuedJob|null |
||
20 | */ |
||
21 | private $job = null; |
||
22 | |||
23 | public function setJob(?QueuedJob $job): void |
||
27 | |||
28 | public function debug($message, array $context = []): void // phpcs:ignore SlevomatCodingStandard.TypeHints |
||
32 | |||
33 | public function critical($message, array $context = []): void // phpcs:ignore SlevomatCodingStandard.TypeHints |
||
37 | |||
38 | public function alert($message, array $context = []): void // phpcs:ignore SlevomatCodingStandard.TypeHints |
||
42 | |||
43 | public function log($level, $message, array $context = []): void // phpcs:ignore SlevomatCodingStandard.TypeHints |
||
47 | |||
48 | public function emergency($message, array $context = []): void // phpcs:ignore SlevomatCodingStandard.TypeHints |
||
52 | |||
53 | public function warning($message, array $context = []): void // phpcs:ignore SlevomatCodingStandard.TypeHints |
||
57 | |||
58 | public function error($message, array $context = []): void // phpcs:ignore SlevomatCodingStandard.TypeHints |
||
62 | |||
63 | public function notice($message, array $context = []): void // phpcs:ignore SlevomatCodingStandard.TypeHints |
||
67 | |||
68 | public function info($message, array $context = []): void // phpcs:ignore SlevomatCodingStandard.TypeHints |
||
72 | |||
73 | private function logJobMessage(string $message): void |
||
83 | } |
||
84 |