Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | class OutputLogger extends AbstractOutputLogger implements \WebServCo\Framework\Interfaces\OutputLoggerInterface |
||
8 | { |
||
9 | public function clear(): bool |
||
12 | } |
||
13 | |||
14 | /** |
||
15 | * Logs with an arbitrary level. |
||
16 | * |
||
17 | * Uncommon phpdoc syntax used in order to be compatible with \Psr\Log\LoggerInterface |
||
18 | * |
||
19 | * @param mixed $level |
||
20 | * @param string $message |
||
21 | * @param array<string,mixed> $context |
||
22 | * @throws \Psr\Log\InvalidArgumentException |
||
23 | */ |
||
24 | // phpcs:ignore SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint |
||
25 | public function log($level, $message, array $context = []): void |
||
35 |